Index: content/renderer/bluetooth/web_bluetooth_impl.h |
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.h b/content/renderer/bluetooth/web_bluetooth_impl.h |
index 8ddbbeec69bea0d93356f00eb9cdacee3d9efdc8..9b4ff05563f2e2e14b076b0a6ea0127c0bd4f896 100644 |
--- a/content/renderer/bluetooth/web_bluetooth_impl.h |
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h |
@@ -12,6 +12,10 @@ |
#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h" |
+namespace blink { |
+class WebBluetoothGATTCharacteristicDelegate; |
+} |
+ |
namespace content { |
class BluetoothDispatcher; |
@@ -45,6 +49,17 @@ class CONTENT_EXPORT WebBluetoothImpl |
void writeValue(const blink::WebString& characteristic_instance_id, |
const std::vector<uint8_t>& value, |
blink::WebBluetoothWriteValueCallbacks*) override; |
+ void startNotifications( |
+ const blink::WebString& characteristic_instance_id, |
+ blink::WebBluetoothGATTCharacteristicDelegate* delegate, |
+ blink::WebBluetoothNotificationsCallbacks*) override; |
+ void stopNotifications( |
+ const blink::WebString& characteristic_instance_id, |
+ blink::WebBluetoothGATTCharacteristicDelegate* delegate, |
+ blink::WebBluetoothNotificationsCallbacks*) override; |
+ void characteristicDelegateRemoved( |
+ const blink::WebString& characteristic_instance_id, |
+ blink::WebBluetoothGATTCharacteristicDelegate* delegate) override; |
private: |
BluetoothDispatcher* GetDispatcher(); |