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..6166032943635216f3dc08410a417602f20a6a2c 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); |
+ // Checks if GATT service with |uuid| and |attribute_handle| has already been |
+ // discovered. |
+ bool IsGattServiceDiscovered(BluetoothUUID& uuid, uint16_t attribute_handle); |
+ |
+ // Checks if |service| still exist on device according to newly discovered |
+ // |service_state|. |
+ bool DoesGattServiceExist( |
+ 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_; |