fake_machine_learning_client.cc 667 B

12345678910111213141516171819202122
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "chromeos/dbus/machine_learning/fake_machine_learning_client.h"
  5. #include "base/callback.h"
  6. namespace chromeos {
  7. FakeMachineLearningClient::FakeMachineLearningClient() = default;
  8. FakeMachineLearningClient::~FakeMachineLearningClient() = default;
  9. void FakeMachineLearningClient::BootstrapMojoConnection(
  10. base::ScopedFD fd,
  11. base::OnceCallback<void(bool success)> result_callback) {
  12. const bool success = true;
  13. std::move(result_callback).Run(success);
  14. }
  15. } // namespace chromeos