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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.h

Issue 1979163002: Add DBus plumbing and tests for sending devices with ATT read/writes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devices
Patch Set: gyp fix Created 4 years, 7 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/dbus/bluetooth_gatt_descriptor_delegate_wrapper.h
diff --git a/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.h b/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.h
index 0a2cdca12e45558d90a4e6c46c75d26f8f4aad7f..383207ce3c3e576018dad74430bbfc7f52c60fe6 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.h
+++ b/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.h
@@ -29,11 +29,13 @@ class BluetoothGattDescriptorDelegateWrapper
// BluetoothGattAttributeValueDelegate overrides:
void GetValue(
+ const dbus::ObjectPath& device_path,
const device::BluetoothLocalGattService::Delegate::ValueCallback&
callback,
const device::BluetoothLocalGattService::Delegate::ErrorCallback&
error_callback) override;
void SetValue(
+ const dbus::ObjectPath& device_path,
const std::vector<uint8_t>& value,
const base::Closure& callback,
const device::BluetoothLocalGattService::Delegate::ErrorCallback&
@@ -42,7 +44,6 @@ class BluetoothGattDescriptorDelegateWrapper
void StopNotifications() override {}
private:
- BluetoothLocalGattServiceBlueZ* service_;
BluetoothLocalGattDescriptorBlueZ* descriptor_;
DISALLOW_COPY_AND_ASSIGN(BluetoothGattDescriptorDelegateWrapper);

Powered by Google App Engine
This is Rietveld 408576698