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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc

Issue 1973703002: Implement //device/bt changes for notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notifications_dbus
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/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
diff --git a/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc b/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
index 95805221ad57e4d3f88f0bf81d690e9bf88a8a1a..08511ea1928b826b9dfc48ee703fa932be6de672 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
+++ b/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
@@ -31,8 +31,12 @@ void BluetoothGattCharacteristicDelegateWrapper::SetValue(
service_, characteristic_, value, 0, callback, error_callback);
}
-void BluetoothGattCharacteristicDelegateWrapper::StartNotifications() {}
+void BluetoothGattCharacteristicDelegateWrapper::StartNotifications() {
+ service_->GetDelegate()->OnNotificationsStart(service_, characteristic_);
+}
-void BluetoothGattCharacteristicDelegateWrapper::StopNotifications() {}
+void BluetoothGattCharacteristicDelegateWrapper::StopNotifications() {
+ service_->GetDelegate()->OnNotificationsStop(service_, characteristic_);
+}
} // namespace bluez
« no previous file with comments | « device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc ('k') | device/bluetooth/test/bluetooth_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698