Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(932)

Unified Diff: content/renderer/bluetooth/web_bluetooth_impl.h

Issue 1334763002: bluetooth: Subscribe to notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1842f963d5ec14c251b02fc27064c01aace7b654 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.h
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h
@@ -45,6 +45,12 @@ 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::WebBluetoothStartNotificationsCallbacks*) override;
+ void stopNotifications(
+ const blink::WebString& characteristic_instance_id,
+ blink::WebBluetoothStopNotificationsCallbacks*) override;
private:
BluetoothDispatcher* GetDispatcher();

Powered by Google App Engine
This is Rietveld 408576698