| Index: device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.cc b/device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| index 73e54871143c0599a4789e551dcd622dbde82343..c835899ae1f69a540bd35135420c6c6dc5f76679 100644
|
| --- a/device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| @@ -207,6 +207,20 @@ void BluetoothDeviceBlueZ::CreateGattConnectionImpl() {
|
| NOTIMPLEMENTED();
|
| }
|
|
|
| +void BluetoothDeviceBlueZ::SetGattServicesDiscoveryComplete(bool complete) {
|
| + // BlueZ implementation already tracks service discovery state.
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +bool BluetoothDeviceBlueZ::IsGattServicesDiscoveryComplete() const {
|
| + bluez::BluetoothDeviceClient::Properties* properties =
|
| + bluez::BluezDBusManager::Get()->GetBluetoothDeviceClient()->GetProperties(
|
| + object_path_);
|
| + DCHECK(properties);
|
| +
|
| + return properties->services_resolved.value();
|
| +}
|
| +
|
| void BluetoothDeviceBlueZ::DisconnectGatt() {
|
| Disconnect(base::Bind(&base::DoNothing), base::Bind(&base::DoNothing));
|
| }
|
|
|