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

Unified Diff: content/renderer/render_frame_impl.cc

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: Rebase 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
« no previous file with comments | « content/renderer/bluetooth/web_bluetooth_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 3e0f81f291a4f5228efe6f07b5fd33c4ccd7439f..c258bda6f3114d985e70adcd52b02a32fed32075 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3806,8 +3806,8 @@ void RenderFrameImpl::unregisterProtocolHandler(const WebString& scheme,
blink::WebBluetooth* RenderFrameImpl::bluetooth() {
if (!bluetooth_) {
- bluetooth_.reset(
- new WebBluetoothImpl(ChildThreadImpl::current()->thread_safe_sender()));
+ bluetooth_.reset(new WebBluetoothImpl(
+ ChildThreadImpl::current()->thread_safe_sender(), routing_id_));
}
return bluetooth_.get();
« no previous file with comments | « content/renderer/bluetooth/web_bluetooth_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698