Index: device/bluetooth/bluetooth_device_win.h |
diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_win.h |
index cd2106a49d736bc454d4c2098dc7377c778daa7e..daa8d1d66e555783d5d35170bf5d8e352b7fb54d 100644 |
--- a/device/bluetooth/bluetooth_device_win.h |
+++ b/device/bluetooth/bluetooth_device_win.h |
@@ -107,6 +107,22 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice { |
// Updates the services with services stored in |device_state|. |
void UpdateServices(const BluetoothTaskManagerWin::DeviceState& device_state); |
+ // Check whether GATT service with |uuid| and |attribute_handle| has already |
scheib
2016/02/09 23:24:57
Descriptive, not imperative. https://google.github
gogerald1
2016/02/10 18:00:56
Done.
|
+ // been discovered. |
+ bool IsGattServiceDiscovered(BluetoothUUID& uuid, uint16_t attribute_handle); |
+ |
+ // Check whether |service| still exist on device according to newly discovered |
scheib
2016/02/09 23:24:57
ditto
gogerald1
2016/02/10 18:00:56
Done.
|
+ // |service_state|. |
+ bool IsGattServiceExist( |
scheib
2016/02/09 23:24:57
DoesGattServiceExist
gogerald1
2016/02/10 18:00:56
Done.
|
+ const ScopedVector<BluetoothTaskManagerWin::ServiceRecordState>& |
+ service_state, |
+ BluetoothGattService* service); |
+ |
+ // Updates the GATT services with the services stored in |service_state|. |
+ void UpdateGattServices( |
+ const ScopedVector<BluetoothTaskManagerWin::ServiceRecordState>& |
+ service_state); |
+ |
scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; |
scoped_refptr<BluetoothSocketThread> socket_thread_; |
net::NetLog* net_log_; |