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 ad713a53dfb8e2a278d814515b762fc774925abd..6f33c8918f4c6877868ece33e04a0cd0b15e2576 100644 |
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h |
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h |
@@ -79,9 +79,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac |
const device::BluetoothUUID& uuid, |
const ConnectToServiceCallback& callback, |
const ConnectToServiceErrorCallback& error_callback) override; |
- void CreateGattConnection( |
- const GattConnectionCallback& callback, |
- const ConnectErrorCallback& error_callback) override; |
// BluetoothDeviceMac override. |
NSDate* GetLastUpdateTime() const override; |
@@ -108,6 +105,16 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac |
private: |
friend class BluetoothAdapterMac; |
friend class BluetoothAdapterMacTest; |
+ friend class BluetoothTestMac; |
+ |
+ // Returns the Bluetooth adapter. |
+ BluetoothAdapterMac* GetMacAdapter(); |
+ |
+ // Returns the CoreBluetooth Peripheral. |
+ CBPeripheral* GetPeripheral(); |
+ |
+ // Callback used when the CoreBluetooth Peripheral is disconnected. |
+ void DidDisconnectPeripheral(); |
// CoreBluetooth data structure. |
base::scoped_nsobject<CBPeripheral> peripheral_; |