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

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

Issue 1228113004: Put the RenderFrame's ID into a per-frame WebBluetooth, and plumb that back to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@store-request-device-state-in-dispatcher
Patch Set: Remove mention of frames from content/child. Created 5 years, 5 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/child/bluetooth/web_bluetooth_impl.h
diff --git a/content/child/bluetooth/web_bluetooth_impl.h b/content/child/bluetooth/web_bluetooth_impl.h
index 5eede0ef3d6a00291d5e140f2cd16c53fc9b80b0..f287c0a2ce42b920164d8c01bbbfc408699b8659 100644
--- a/content/child/bluetooth/web_bluetooth_impl.h
+++ b/content/child/bluetooth/web_bluetooth_impl.h
@@ -23,6 +23,7 @@ class CONTENT_EXPORT WebBluetoothImpl
: NON_EXPORTED_BASE(public blink::WebBluetooth) {
public:
explicit WebBluetoothImpl(ThreadSafeSender* thread_safe_sender);
+ WebBluetoothImpl(ThreadSafeSender* thread_safe_sender, int routing_id);
~WebBluetoothImpl();
// blink::WebBluetooth interface:
@@ -48,7 +49,8 @@ class CONTENT_EXPORT WebBluetoothImpl
private:
BluetoothDispatcher* GetDispatcher();
- scoped_refptr<ThreadSafeSender> thread_safe_sender_;
+ const scoped_refptr<ThreadSafeSender> thread_safe_sender_;
+ const int routing_id_;
DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
};

Powered by Google App Engine
This is Rietveld 408576698