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_agent_manager_client.h" |
| 6 |
| 7 #include "base/bind.h" |
| 8 #include "base/logging.h" |
| 9 #include "dbus/object_path.h" |
| 10 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 11 |
| 12 namespace chromeos { |
| 13 |
| 14 FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() { |
| 15 } |
| 16 |
| 17 FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() { |
| 18 } |
| 19 |
| 20 void FakeBluetoothAgentManagerClient::RegisterAgent( |
| 21 const dbus::ObjectPath& agent_path, |
| 22 const std::string& capability, |
| 23 const base::Closure& callback, |
| 24 const ErrorCallback& error_callback) { |
| 25 VLOG(1) << "RegisterAgent: " << agent_path.value(); |
| 26 callback.Run(); |
| 27 } |
| 28 |
| 29 void FakeBluetoothAgentManagerClient::UnregisterAgent( |
| 30 const dbus::ObjectPath& agent_path, |
| 31 const base::Closure& callback, |
| 32 const ErrorCallback& error_callback) { |
| 33 VLOG(1) << "UnregisterAgent: " << agent_path.value(); |
| 34 callback.Run(); |
| 35 } |
| 36 |
| 37 void FakeBluetoothAgentManagerClient::RequestDefaultAgent( |
| 38 const dbus::ObjectPath& agent_path, |
| 39 const base::Closure& callback, |
| 40 const ErrorCallback& error_callback) { |
| 41 VLOG(1) << "RequestDefaultAgent: " << agent_path.value(); |
| 42 callback.Run(); |
| 43 } |
| 44 |
| 45 } // namespace chromeos |
OLD | NEW |