| Index: device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.mm b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| index bd28398d1e84322923a85c8ea75588ccc6c19ab0..99ec7cd2bb2d25ff4556bf0a99b93b2338a5795c 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| +++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| @@ -114,6 +114,10 @@ bool BluetoothLowEnergyDeviceMac::IsPaired() const {
|
| }
|
|
|
| bool BluetoothLowEnergyDeviceMac::IsConnected() const {
|
| + return IsGattConnected();
|
| +}
|
| +
|
| +bool BluetoothLowEnergyDeviceMac::IsGattConnected() const {
|
| return (GetPeripheralState() == CBPeripheralStateConnected);
|
| }
|
|
|
| @@ -221,6 +225,18 @@ std::string BluetoothLowEnergyDeviceMac::GetDeviceName() const {
|
| return base::SysNSStringToUTF8([peripheral_ name]);
|
| }
|
|
|
| +void BluetoothLowEnergyDeviceMac::CreateGattConnectionImpl() {
|
| + // Mac implementation does not yet use the default CreateGattConnection
|
| + // implementation. http://crbug.com/520774
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void BluetoothLowEnergyDeviceMac::DisconnectGatt() {
|
| + // Mac implementation does not yet use the default CreateGattConnection
|
| + // implementation. http://crbug.com/520774
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| // static
|
| std::string BluetoothLowEnergyDeviceMac::GetPeripheralIdentifier(
|
| CBPeripheral* peripheral) {
|
|
|