| Index: device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.cc
|
| diff --git a/device/bluetooth/dbus/dbus_bluez_manager_wrapper_stub_linux.cc b/device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.cc
|
| similarity index 30%
|
| copy from device/bluetooth/dbus/dbus_bluez_manager_wrapper_stub_linux.cc
|
| copy to device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.cc
|
| index 18c2bfe676c2892cad9046c2e02bdc537158b37f..950d9d9bfea2724ca73b9f0705d75911bbdbb3d8 100644
|
| --- a/device/bluetooth/dbus/dbus_bluez_manager_wrapper_stub_linux.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.cc
|
| @@ -2,16 +2,21 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "device/bluetooth/dbus/dbus_bluez_manager_wrapper_linux.h"
|
| +#include "device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h"
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/logging.h"
|
|
|
| namespace bluez {
|
|
|
| -// Stub implementation for targets that don't use DBus.
|
| -// static
|
| -void DBusBluezManagerWrapperLinux::Initialize() {}
|
| +BluetoothLocalGattDescriptorBlueZ::BluetoothLocalGattDescriptorBlueZ(
|
| + const dbus::ObjectPath& object_path)
|
| + : BluetoothGattDescriptorBlueZ(object_path), weak_ptr_factory_(this) {
|
| + VLOG(1) << "Creating local GATT descriptor with identifier: "
|
| + << GetIdentifier();
|
| +}
|
|
|
| -// Stub implementation for targets that don't use DBus.
|
| -// static
|
| -void DBusBluezManagerWrapperLinux::Shutdown() {}
|
| +BluetoothLocalGattDescriptorBlueZ::~BluetoothLocalGattDescriptorBlueZ() {}
|
|
|
| } // namespace bluez
|
|
|