| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromeos/dbus/fake_bluetooth_agent_manager_client.h" | 5 #include "chromeos/dbus/fake_bluetooth_agent_manager_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | |
| 8 #include "base/logging.h" | 7 #include "base/logging.h" |
| 9 #include "chromeos/dbus/fake_bluetooth_agent_service_provider.h" | 8 #include "chromeos/dbus/fake_bluetooth_agent_service_provider.h" |
| 10 #include "dbus/object_path.h" | |
| 11 #include "third_party/cros_system_api/dbus/service_constants.h" | 9 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 12 | 10 |
| 13 namespace chromeos { | 11 namespace chromeos { |
| 14 | 12 |
| 15 FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() | 13 FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() |
| 16 : service_provider_(NULL) { | 14 : service_provider_(NULL) { |
| 17 } | 15 } |
| 18 | 16 |
| 19 FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() { | 17 FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() { |
| 20 } | 18 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 if (service_provider_ == service_provider) | 72 if (service_provider_ == service_provider) |
| 75 service_provider_ = NULL; | 73 service_provider_ = NULL; |
| 76 } | 74 } |
| 77 | 75 |
| 78 FakeBluetoothAgentServiceProvider* | 76 FakeBluetoothAgentServiceProvider* |
| 79 FakeBluetoothAgentManagerClient::GetAgentServiceProvider() { | 77 FakeBluetoothAgentManagerClient::GetAgentServiceProvider() { |
| 80 return service_provider_; | 78 return service_provider_; |
| 81 } | 79 } |
| 82 | 80 |
| 83 } // namespace chromeos | 81 } // namespace chromeos |
| OLD | NEW |