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

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

Issue 1973343005: Remove service, add device, in BluetoothLocalGattService::Delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/bluez/bluetooth_local_gatt_characteristic_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc b/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc
index 343df50e2bb3a09d619df6893458babba6dd5486..d40e17038c479a18e377af2c76e5a75b84a982d1 100644
--- a/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc
@@ -73,6 +73,7 @@ BluetoothLocalGattCharacteristicBlueZ::GetPermissions() const {
device::BluetoothLocalGattCharacteristic::NotificationStatus
BluetoothLocalGattCharacteristicBlueZ::NotifyValueChanged(
+ const device::BluetoothDevice* device,
const std::vector<uint8_t>& new_value,
bool indicate) {
if (indicate && !(properties_ & PROPERTY_INDICATE))
@@ -85,8 +86,8 @@ BluetoothLocalGattCharacteristicBlueZ::NotifyValueChanged(
: SERVICE_NOT_REGISTERED;
}
-BluetoothLocalGattServiceBlueZ*
-BluetoothLocalGattCharacteristicBlueZ::GetService() {
+device::BluetoothLocalGattService*
+BluetoothLocalGattCharacteristicBlueZ::GetService() const {
return service_;
}

Powered by Google App Engine
This is Rietveld 408576698