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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_characteristic_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_characteristic_delegate_wrapper.h
diff --git a/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.h b/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.h
index fefa878e5ede37ab3ae01ca7c5e99193bba61ea8..0816bc29dd25fdfff91801dc2db8acd13524ad90 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.h
+++ b/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.h
@@ -29,11 +29,13 @@ class BluetoothGattCharacteristicDelegateWrapper
// 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 BluetoothGattCharacteristicDelegateWrapper
void StopNotifications() override;
private:
- BluetoothLocalGattServiceBlueZ* service_;
BluetoothLocalGattCharacteristicBlueZ* characteristic_;
DISALLOW_COPY_AND_ASSIGN(BluetoothGattCharacteristicDelegateWrapper);

Powered by Google App Engine
This is Rietveld 408576698