Index: device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.cc |
diff --git a/device/bluetooth/dbus/dbus_bluez_manager_wrapper_stub_linux.cc b/device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.cc |
similarity index 32% |
copy from device/bluetooth/dbus/dbus_bluez_manager_wrapper_stub_linux.cc |
copy to device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.cc |
index 18c2bfe676c2892cad9046c2e02bdc537158b37f..c1b909a4d16384c08680f6701122b743ae734957 100644 |
--- a/device/bluetooth/dbus/dbus_bluez_manager_wrapper_stub_linux.cc |
+++ b/device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.cc |
@@ -2,16 +2,20 @@ |
// 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_gatt_descriptor_bluez.h" |
+ |
+#include "device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h" |
namespace bluez { |
-// Stub implementation for targets that don't use DBus. |
-// static |
-void DBusBluezManagerWrapperLinux::Initialize() {} |
+BluetoothGattDescriptorBlueZ::BluetoothGattDescriptorBlueZ( |
+ const dbus::ObjectPath& object_path) |
+ : object_path_(object_path) {} |
+ |
+BluetoothGattDescriptorBlueZ::~BluetoothGattDescriptorBlueZ() {} |
-// Stub implementation for targets that don't use DBus. |
-// static |
-void DBusBluezManagerWrapperLinux::Shutdown() {} |
+std::string BluetoothGattDescriptorBlueZ::GetIdentifier() const { |
+ return object_path_.value(); |
+} |
} // namespace bluez |