| Index: device/bluetooth/bluetooth_remote_gatt_characteristic_win.h
|
| diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h b/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h
|
| index 549ea205e827b5cbfc0bba39740eeb13953e9211..d94b04584fb14da6965587a216b3b9a183de0ee0 100644
|
| --- a/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h
|
| +++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h
|
| @@ -46,6 +46,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicWin
|
| const std::string& identifier) const override;
|
| void StartNotifySession(const NotifySessionCallback& callback,
|
| const ErrorCallback& error_callback) override;
|
| + void StopNotifySession(BluetoothGattNotifySession* session,
|
| + const base::Closure& callback) override;
|
| void ReadRemoteCharacteristic(const ValueCallback& callback,
|
| const ErrorCallback& error_callback) override;
|
| void WriteRemoteCharacteristic(const std::vector<uint8_t>& new_value,
|
| @@ -57,6 +59,15 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicWin
|
| uint16_t GetAttributeHandle() const;
|
| BluetoothRemoteGattServiceWin* GetWinService() { return parent_service_; }
|
|
|
| + protected:
|
| + void SubscribeToNotifications(BluetoothRemoteGattDescriptor* ccc_descriptor,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) override;
|
| + void UnsubscribeFromNotifications(
|
| + BluetoothRemoteGattDescriptor* ccc_descriptor,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) override;
|
| +
|
| private:
|
| void OnGetIncludedDescriptorsCallback(
|
| std::unique_ptr<BTH_LE_GATT_DESCRIPTOR> descriptors,
|
|
|