Index: device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
diff --git a/chromeos/dbus/fake_bluetooth_profile_service_provider.cc b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
similarity index 81% |
rename from chromeos/dbus/fake_bluetooth_profile_service_provider.cc |
rename to device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
index a1f44eb9cc453a68f6bfeee93cefdf926cd25335..10895018af53c2af6ad129375b5de7542c28e26d 100644 |
--- a/chromeos/dbus/fake_bluetooth_profile_service_provider.cc |
+++ b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
@@ -2,23 +2,22 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chromeos/dbus/fake_bluetooth_profile_service_provider.h" |
+#include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h" |
-#include "chromeos/dbus/dbus_thread_manager.h" |
-#include "chromeos/dbus/fake_bluetooth_profile_manager_client.h" |
+#include "device/bluetooth/dbus/bluez_dbus_manager.h" |
+#include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" |
-namespace chromeos { |
+namespace bluez { |
FakeBluetoothProfileServiceProvider::FakeBluetoothProfileServiceProvider( |
const dbus::ObjectPath& object_path, |
Delegate* delegate) |
- : object_path_(object_path), |
- delegate_(delegate) { |
+ : object_path_(object_path), delegate_(delegate) { |
VLOG(1) << "Creating Bluetooth Profile: " << object_path_.value(); |
FakeBluetoothProfileManagerClient* fake_bluetooth_profile_manager_client = |
static_cast<FakeBluetoothProfileManagerClient*>( |
- DBusThreadManager::Get()->GetBluetoothProfileManagerClient()); |
+ bluez::BluezDBusManager::Get()->GetBluetoothProfileManagerClient()); |
fake_bluetooth_profile_manager_client->RegisterProfileServiceProvider(this); |
} |
@@ -27,7 +26,7 @@ FakeBluetoothProfileServiceProvider::~FakeBluetoothProfileServiceProvider() { |
FakeBluetoothProfileManagerClient* fake_bluetooth_profile_manager_client = |
static_cast<FakeBluetoothProfileManagerClient*>( |
- DBusThreadManager::Get()->GetBluetoothProfileManagerClient()); |
+ bluez::BluezDBusManager::Get()->GetBluetoothProfileManagerClient()); |
fake_bluetooth_profile_manager_client->UnregisterProfileServiceProvider(this); |
} |
@@ -59,4 +58,4 @@ void FakeBluetoothProfileServiceProvider::Cancel() { |
delegate_->Cancel(); |
} |
-} // namespace chromeos |
+} // namespace bluez |