| Index: device/bluetooth/dbus/fake_bluetooth_gatt_service_service_provider.cc
|
| diff --git a/chromeos/dbus/fake_bluetooth_gatt_service_service_provider.cc b/device/bluetooth/dbus/fake_bluetooth_gatt_service_service_provider.cc
|
| similarity index 69%
|
| rename from chromeos/dbus/fake_bluetooth_gatt_service_service_provider.cc
|
| rename to device/bluetooth/dbus/fake_bluetooth_gatt_service_service_provider.cc
|
| index d06abd3b0adcdeb99ccd2656fb91727cc9b02763..8d724058673d6e29fe4aa26bb12ed62f1082c428 100644
|
| --- a/chromeos/dbus/fake_bluetooth_gatt_service_service_provider.cc
|
| +++ b/device/bluetooth/dbus/fake_bluetooth_gatt_service_service_provider.cc
|
| @@ -2,27 +2,25 @@
|
| // 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_gatt_service_service_provider.h"
|
| +#include "device/bluetooth/dbus/fake_bluetooth_gatt_service_service_provider.h"
|
|
|
| #include "base/logging.h"
|
| -#include "chromeos/dbus/dbus_thread_manager.h"
|
| -#include "chromeos/dbus/fake_bluetooth_gatt_manager_client.h"
|
| +#include "device/bluetooth/dbus/bluez_dbus_manager.h"
|
| +#include "device/bluetooth/dbus/fake_bluetooth_gatt_manager_client.h"
|
|
|
| -namespace chromeos {
|
| +namespace bluez {
|
|
|
| FakeBluetoothGattServiceServiceProvider::
|
| FakeBluetoothGattServiceServiceProvider(
|
| const dbus::ObjectPath& object_path,
|
| const std::string& uuid,
|
| const std::vector<dbus::ObjectPath>& includes)
|
| - : object_path_(object_path),
|
| - uuid_(uuid),
|
| - includes_(includes) {
|
| + : object_path_(object_path), uuid_(uuid), includes_(includes) {
|
| VLOG(1) << "Creating Bluetooth GATT service: " << object_path_.value();
|
|
|
| FakeBluetoothGattManagerClient* fake_bluetooth_gatt_manager_client =
|
| static_cast<FakeBluetoothGattManagerClient*>(
|
| - DBusThreadManager::Get()->GetBluetoothGattManagerClient());
|
| + bluez::BluezDBusManager::Get()->GetBluetoothGattManagerClient());
|
| fake_bluetooth_gatt_manager_client->RegisterServiceServiceProvider(this);
|
| }
|
|
|
| @@ -32,8 +30,8 @@ FakeBluetoothGattServiceServiceProvider::
|
|
|
| FakeBluetoothGattManagerClient* fake_bluetooth_gatt_manager_client =
|
| static_cast<FakeBluetoothGattManagerClient*>(
|
| - DBusThreadManager::Get()->GetBluetoothGattManagerClient());
|
| + bluez::BluezDBusManager::Get()->GetBluetoothGattManagerClient());
|
| fake_bluetooth_gatt_manager_client->UnregisterServiceServiceProvider(this);
|
| }
|
|
|
| -} // namespace chromeos
|
| +} // namespace bluez
|
|
|