Chromium Code Reviews| Index: device/bluetooth/bluetooth_adapter_mac.h |
| diff --git a/device/bluetooth/bluetooth_adapter_mac.h b/device/bluetooth/bluetooth_adapter_mac.h |
| index f1dcaec7244700fa54a090438bf861b325862c63..e604f969a0145a16842b90a0ba7ef9c535fb450d 100644 |
| --- a/device/bluetooth/bluetooth_adapter_mac.h |
| +++ b/device/bluetooth/bluetooth_adapter_mac.h |
| @@ -70,6 +70,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterMac |
| const base::Closure& callback, |
| const ErrorCallback& error_callback) override; |
| bool IsDiscovering() const override; |
| + std::unordered_map<BluetoothDevice*, BluetoothDevice::UUIDSet> |
| + RetrieveGattConnectedDevicesWithDiscoveryFilter( |
| + const BluetoothDiscoveryFilter* discovery_filter) override; |
| UUIDList GetUUIDs() const override; |
| void CreateRfcommService( |
| const BluetoothUUID& uuid, |
| @@ -176,10 +179,17 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterMac |
| // observers. |
| void AddPairedDevices(); |
| + std::unordered_map<BluetoothDevice*, BluetoothDevice::UUIDSet> |
| + RetrieveGattConnectedDevicesWithService(const BluetoothUUID* uuid); |
| + |
| // Returns the BLE device associated with the CoreBluetooth peripheral. |
| BluetoothLowEnergyDeviceMac* GetBluetoothLowEnergyDeviceMac( |
| CBPeripheral* peripheral); |
| + // Returns true if a new device collide with an existing device. |
|
ortuno
2016/10/31 04:30:51
s/collide/collides/
jlebel
2016/11/07 01:43:17
Done.
|
| + bool DoesCollideWithKnownDevice(CBPeripheral* peripheral, |
| + BluetoothLowEnergyDeviceMac* device_mac); |
| + |
| std::string address_; |
| bool classic_powered_; |
| int num_discovery_sessions_; |