Commit c2c7f418 authored by jlebel's avatar jlebel Committed by Commit bot

bluetooth: macOS: BluetoothLowEnergyDeviceMac::IsConnectable() not implemented

Adding NOTIMPLEMENTED() to BluetoothLowEnergyDeviceMac::IsConnectable() and
removing BluetoothLowEnergyDeviceMac::connectable_.

BUG=

Review-Url: https://codereview.chromium.org/2854733002
Cr-Commit-Position: refs/heads/master@{#469458}
parent 74fe98e2
......@@ -264,7 +264,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
virtual bool IsGattConnected() const = 0;
// Indicates whether the paired device accepts connections initiated from the
// adapter. This value is undefined for unpaired devices.
// adapter. This value is undefined for unpaired devices. Only available for
// Chrome OS.
virtual bool IsConnectable() const = 0;
// Indicates whether there is a call to Connect() ongoing. For this attribute,
......
......@@ -140,9 +140,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
base::scoped_nsobject<BluetoothLowEnergyPeripheralDelegate>
peripheral_delegate_;
// Whether the device is connectable.
bool connectable_;
// The peripheral's identifier, as returned by [CBPeripheral identifier].
std::string identifier_;
......
......@@ -100,7 +100,9 @@ bool BluetoothLowEnergyDeviceMac::IsGattConnected() const {
}
bool BluetoothLowEnergyDeviceMac::IsConnectable() const {
return connectable_;
// Only available for Chrome OS.
NOTIMPLEMENTED();
return false;
}
bool BluetoothLowEnergyDeviceMac::IsConnecting() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment