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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 2595373003: Bluetooth: mac: Working on macOS descriptor implementation. (Closed)
Patch Set: Fixes 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
« no previous file with comments | « device/bluetooth/BUILD.gn ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e33d5398ea023a8d1d06ab9781f6b24c03fe6042 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 SendNotificationIfDiscoveryComplete();
+
// Returns the Bluetooth adapter.
BluetoothAdapterMac* GetMacAdapter();
« no previous file with comments | « device/bluetooth/BUILD.gn ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698