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

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

Issue 2039773005: Add support in Chrome to send notifications to a specific device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 d40e17038c479a18e377af2c76e5a75b84a982d1..db69830e9a832c7af7c7a0bb32220e385f98491d 100644
--- a/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc
@@ -81,7 +81,8 @@ BluetoothLocalGattCharacteristicBlueZ::NotifyValueChanged(
if (!indicate && !(properties_ & PROPERTY_NOTIFY))
return NOTIFY_PROPERTY_NOT_SET;
DCHECK(service_);
- return service_->GetAdapter()->SendValueChanged(this, new_value)
+ return service_->GetAdapter()->SendValueChanged(device, this, new_value,
+ indicate)
? NOTIFICATION_SUCCESS
: SERVICE_NOT_REGISTERED;
}
« no previous file with comments | « device/bluetooth/bluez/bluetooth_adapter_bluez.cc ('k') | device/bluetooth/dbus/bluetooth_gatt_application_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698