Chromium Code Reviews| 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(); |