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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h

Issue 1334763002: bluetooth: Subscribe to notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Patch Set: Include map Created 5 years, 2 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: third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h
index fbb38b6fe364d91471789c49be2670ed797801ac..9fba4564027c72e71def6746de93c52434a26217 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h
@@ -30,6 +30,8 @@ public:
// Returns the WebBluetooth attached to the frame if the frame exists.
// Otherwise returns nullptr.
static WebBluetooth* getFromScriptState(ScriptState*);
+ // Returns the WebBluetooth attached to the execution context.
+ static WebBluetooth* getFromExecutionContext(ExecutionContext*);
haraken 2015/10/10 14:19:35 getFromExecutionContext => fromExecutionContext (B
ortuno 2015/10/12 17:46:07 Done.
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698