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 e2823d16eded4be599c5ab404dc5cc1d93a166ba..24b0b7f5972cb674154fad73167b7baa79721528 100644 |
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h |
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h |
@@ -81,6 +81,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac |
// BluetoothDevice override. |
void CreateGattConnectionImpl() override; |
void DisconnectGatt() override; |
+ void DidConnectGatt() override; |
// Methods used by BluetoothLowEnergyPeripheralBridge. |
void DidDiscoverPrimaryServices(NSError* error); |
@@ -143,6 +144,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac |
// Whether the device is connectable. |
bool connectable_; |
+ // Whether the device is connected. |
+ bool connected_; |
+ |
// The peripheral's identifier, as returned by [CBPeripheral identifier]. |
std::string identifier_; |