| Index: device/bluetooth/bluetooth_device_bluez.cc
|
| diff --git a/device/bluetooth/bluetooth_device_bluez.cc b/device/bluetooth/bluetooth_device_bluez.cc
|
| index 5ee49a4c9dd6734288e171c3184b1f1ec558ab8c..584eae89578eb5b264775778f50f4cd920b41593 100644
|
| --- a/device/bluetooth/bluetooth_device_bluez.cc
|
| +++ b/device/bluetooth/bluetooth_device_bluez.cc
|
| @@ -206,6 +206,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));
|
| }
|
|
|