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 472c2f9bd104fc65cdf9e53719324d8612bc1069..20e70f01811b3bcc6835e0bab1b4625eaf448e26 100644 |
| --- a/device/bluetooth/bluetooth_adapter_mac.h |
| +++ b/device/bluetooth/bluetooth_adapter_mac.h |
| @@ -97,16 +97,21 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterMac |
| // (crbug.com/506287). |
| static bool IsLowEnergyAvailable(); |
| - // Resets |low_energy_central_manager_| to |central_manager| and sets |
| - // |low_energy_central_manager_delegate_| as the manager's delegate. Should |
| - // be called only when |IsLowEnergyAvailable()|. |
| - void SetCentralManagerForTesting(CBCentralManager* central_manager); |
| + void CreateGattConnection(BluetoothLowEnergyDeviceMac* device_mac); |
|
scheib
2016/01/27 01:09:03
Comment group of methods. I see that these provide
jlebel
2016/02/10 13:38:51
Done.
|
| + void DidConnectPeripheral(CBPeripheral* peripheral); |
| + void DisconnectGatt(BluetoothLowEnergyDeviceMac* device_mac); |
| protected: |
| // BluetoothAdapter override: |
| void RemovePairingDelegateInternal( |
| device::BluetoothDevice::PairingDelegate* pairing_delegate) override; |
| + // Resets |low_energy_central_manager_| to |central_manager| and sets |
| + // |low_energy_central_manager_delegate_| as the manager's delegate. Should |
| + // be called only when |IsLowEnergyAvailable()|. |
| + void SetCentralManagerForTesting(CBCentralManager* central_manager); |
| + CBCentralManager* GetCentralManagerForTesting(); |
| + |
| private: |
| // The length of time that must elapse since the last Inquiry response (on |
| // Classic devices) or call to BluetoothLowEnergyDevice::Update() (on Low |