| Index: device/bluetooth/bluetooth_device.h
|
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
|
| index 296449601cb9c683fa572e1031d664412323da78..135aad616ae2e62398433d46ddcb2731be62673e 100644
|
| --- a/device/bluetooth/bluetooth_device.h
|
| +++ b/device/bluetooth/bluetooth_device.h
|
| @@ -31,6 +31,7 @@ namespace device {
|
|
|
| class BluetoothAdapter;
|
| class BluetoothGattConnection;
|
| +class BluetoothRemoteGattCharacteristic;
|
| class BluetoothSocket;
|
| class BluetoothUUID;
|
|
|
| @@ -555,6 +556,15 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
|
| // Return associated BluetoothAdapter.
|
| BluetoothAdapter* GetAdapter() { return adapter_; }
|
|
|
| + std::vector<BluetoothRemoteGattService*> GetPrimaryServices();
|
| +
|
| + std::vector<BluetoothRemoteGattService*> GetPrimaryServicesByUUID(
|
| + const BluetoothUUID& service_uuid);
|
| +
|
| + std::vector<BluetoothRemoteGattCharacteristic*> GetCharacteristicsByUUID(
|
| + const std::string& service_instance_id,
|
| + const BluetoothUUID& characteristic_uuid);
|
| +
|
| protected:
|
| // BluetoothGattConnection is a friend to call Add/RemoveGattConnection.
|
| friend BluetoothGattConnection;
|
|
|