OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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 |
| 5 #include "chromeos/dbus/fake_bluetooth_profile_manager_client.h" |
| 6 |
| 7 #include "base/bind.h" |
| 8 #include "base/logging.h" |
| 9 #include "dbus/bus.h" |
| 10 #include "dbus/message.h" |
| 11 #include "dbus/object_path.h" |
| 12 #include "dbus/object_proxy.h" |
| 13 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 14 |
| 15 namespace chromeos { |
| 16 |
| 17 FakeBluetoothProfileManagerClient::FakeBluetoothProfileManagerClient() { |
| 18 } |
| 19 |
| 20 FakeBluetoothProfileManagerClient::~FakeBluetoothProfileManagerClient() { |
| 21 } |
| 22 |
| 23 void FakeBluetoothProfileManagerClient::RegisterProfile( |
| 24 const dbus::ObjectPath& profile_path, |
| 25 const std::string& uuid, |
| 26 const Options& options, |
| 27 const base::Closure& callback, |
| 28 const ErrorCallback& error_callback) { |
| 29 VLOG(1) << "RegisterProfile: " << profile_path.value() << ": " << uuid; |
| 30 callback.Run(); |
| 31 } |
| 32 |
| 33 void FakeBluetoothProfileManagerClient::UnregisterProfile( |
| 34 const dbus::ObjectPath& profile_path, |
| 35 const base::Closure& callback, |
| 36 const ErrorCallback& error_callback) { |
| 37 VLOG(1) << "UnregisterProfile: " << profile_path.value(); |
| 38 callback.Run(); |
| 39 } |
| 40 |
| 41 } // namespace chromeos |
OLD | NEW |