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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_mac.mm

Issue 2094633003: Bluetooth: Mac: implementation for start notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write_read_characteristicscan_servicescan_cleanup
Patch Set: Addressing msarda's comments 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
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_mac.h ('k') | device/bluetooth/test/bluetooth_test_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_remote_gatt_service_mac.mm
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_mac.mm b/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
index aadcf19c9302b7b1350a074d4a1f788b0c97ba76..0d3b7e140d9dce9a48927ce994dc2578866962e2 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
+++ b/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
@@ -137,6 +137,15 @@ void BluetoothRemoteGattServiceMac::DidWriteValue(
gatt_characteristic->DidWriteValue(error);
}
+void BluetoothRemoteGattServiceMac::DidUpdateNotificationState(
+ CBCharacteristic* characteristic,
+ NSError* error) {
+ BluetoothRemoteGattCharacteristicMac* gatt_characteristic =
+ GetBluetoothRemoteGattCharacteristicMac(characteristic);
+ DCHECK(gatt_characteristic);
+ gatt_characteristic->DidUpdateNotificationState(error);
+}
+
bool BluetoothRemoteGattServiceMac::IsDiscoveryComplete() {
return is_discovery_complete_;
}
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_mac.h ('k') | device/bluetooth/test/bluetooth_test_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698