Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc

Issue 1920693002: Complete //device/bt implementation for hosting local GATT attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc b/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc
index a1acc46f4bf6ac70361e50ba659f4fe92b0613e8..382abc947df6028cb51b8f29b26104d51defcb83 100644
--- a/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.cc
@@ -39,9 +39,8 @@ std::ostream& operator<<(std::ostream& out, const std::vector<uint8_t> bytes) {
BluetoothRemoteGattDescriptorBlueZ::BluetoothRemoteGattDescriptorBlueZ(
BluetoothRemoteGattCharacteristicBlueZ* characteristic,
const dbus::ObjectPath& object_path)
- : BluetoothGattDescriptorBlueZ(object_path),
- characteristic_(characteristic),
- weak_ptr_factory_(this) {
+ : characteristic_(characteristic), weak_ptr_factory_(this) {
+ object_path_ = object_path;
VLOG(1) << "Creating remote GATT descriptor with identifier: "
<< GetIdentifier() << ", UUID: " << GetUUID().canonical_value();
}

Powered by Google App Engine
This is Rietveld 408576698