| Index: device/bluetooth/bluetooth_adapter.h
|
| diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
|
| index a6df9c8341750825f69308f061d04a87219e12c0..a9224562426118cae2a0fa293fd8fef09dc7ae83 100644
|
| --- a/device/bluetooth/bluetooth_adapter.h
|
| +++ b/device/bluetooth/bluetooth_adapter.h
|
| @@ -23,13 +23,13 @@
|
| #include "device/bluetooth/bluetooth_audio_sink.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| #include "device/bluetooth/bluetooth_export.h"
|
| -#include "device/bluetooth/bluetooth_local_gatt_service.h"
|
|
|
| namespace device {
|
|
|
| class BluetoothAdvertisement;
|
| class BluetoothDiscoveryFilter;
|
| class BluetoothDiscoverySession;
|
| +class BluetoothLocalGattService;
|
| class BluetoothRemoteGattCharacteristic;
|
| class BluetoothRemoteGattDescriptor;
|
| class BluetoothRemoteGattService;
|
| @@ -421,6 +421,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
|
| const CreateAdvertisementCallback& callback,
|
| const CreateAdvertisementErrorCallback& error_callback) = 0;
|
|
|
| + // Returns the local GATT services associated with this adapter with the
|
| + // given identifier. Returns NULL if the service doesn't exist.
|
| + virtual BluetoothLocalGattService* GetGattService(
|
| + const std::string& identifier) const = 0;
|
| +
|
| // The following methods are used to send various events to observers.
|
| void NotifyAdapterStateChanged(bool powered);
|
| #if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
|
|