| Index: device/bluetooth/bluetooth_adapter_mac.h
|
| diff --git a/device/bluetooth/bluetooth_adapter_mac.h b/device/bluetooth/bluetooth_adapter_mac.h
|
| index d0ef4c3972d72ba699eeece533e111fd9e7febb4..ff88f6e04ef82e57440837348e31eefd15412777 100644
|
| --- a/device/bluetooth/bluetooth_adapter_mac.h
|
| +++ b/device/bluetooth/bluetooth_adapter_mac.h
|
| @@ -49,7 +49,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterMac
|
| static base::WeakPtr<BluetoothAdapterMac> CreateAdapterForTest(
|
| std::string name,
|
| std::string address,
|
| - scoped_refptr<base::SequencedTaskRunner> ui_task_runner);
|
| + scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
|
| + CBCentralManager* central_manager = nil);
|
|
|
| // Converts CBUUID into BluetoothUUID
|
| static BluetoothUUID BluetoothUUIDWithCBUUID(CBUUID* UUID);
|
| @@ -177,9 +178,13 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterMac
|
| // Updates |devices_| when there is a change to the CBCentralManager's state.
|
| void LowEnergyCentralManagerUpdatedState();
|
|
|
| - // Updates |devices_| to include the currently paired devices and notifies
|
| - // observers.
|
| - void AddPairedDevices();
|
| + // Updates |devices_| to include the currently paired Bluetooth Classic
|
| + // devices and notifies observers.
|
| + void AddPairedClassicDevices();
|
| +
|
| + // Updates |devices_| to include the currently connected Bluetooth Low Energy
|
| + // devices and notifies observers.
|
| + void AddConnectedLowEnergyDevices();
|
|
|
| // Returns the BLE device associated with the CoreBluetooth peripheral.
|
| BluetoothLowEnergyDeviceMac* GetBluetoothLowEnergyDeviceMac(
|
|
|