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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 2595373003: Bluetooth: mac: Working on macOS descriptor implementation. (Closed)
Patch Set: More test Created 3 years, 11 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/bluetooth_low_energy_device_mac.h
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h
index 76b31306cecde853deadc863d08ec9910e1069c5..eebc87e9acf346edb74abb29e11e27dc0d58eba3 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -89,6 +89,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
void DidWriteValue(CBCharacteristic* characteristic, NSError* error);
void DidUpdateNotificationState(CBCharacteristic* characteristic,
NSError* error);
+ void DidDiscoverDescriptors(CBCharacteristic* characteristic, NSError* error);
static std::string GetPeripheralIdentifier(CBPeripheral* peripheral);
@@ -106,6 +107,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
friend class BluetoothTestMac;
friend class BluetoothRemoteGattServiceMac;
+ // Sends notification if this device is ready with all services discovered.
+ void SendNotificationIfComplete();
scheib 2017/01/09 21:07:37 Perhaps naming such as SendNotificationIfDiscovery
jlebel 2017/01/09 22:58:32 Done.
+
// Returns the Bluetooth adapter.
BluetoothAdapterMac* GetMacAdapter();

Powered by Google App Engine
This is Rietveld 408576698