| Index: device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.h b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| index 33e6f5680f82ce8431c1475bd75fd919bb8e5f35..c989d7d69102cb7c1a425f1bef9625b5064ae1c5 100644
|
| --- a/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| +++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| @@ -119,6 +119,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
|
| const CreateAdvertisementCallback& callback,
|
| const CreateAdvertisementErrorCallback& error_callback) override;
|
|
|
| + device::BluetoothLocalGattService* GetGattService(
|
| + const std::string& identifier) const override;
|
| +
|
| // Locates the device object by object path (the devices map and
|
| // BluetoothDevice methods are by address).
|
| BluetoothDeviceBlueZ* GetDeviceWithPath(const dbus::ObjectPath& object_path);
|
| @@ -421,7 +424,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
|
| std::unique_ptr<device::BluetoothDiscoveryFilter> current_filter_;
|
|
|
| // List of GATT services that are owned by this adapter.
|
| - std::vector<std::unique_ptr<BluetoothLocalGattServiceBlueZ>>
|
| + std::map<dbus::ObjectPath, std::unique_ptr<BluetoothLocalGattServiceBlueZ>>
|
| owned_gatt_services_;
|
|
|
| // GATT services that are currently available on the GATT server.
|
|
|