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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1719193003: Add a user id parameter to connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/public/test/test_mojo_app.cc ('k') | content/test/data/web_ui_mojo_shell_test.js » ('j') | 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 b3f440cdc51c7f7785144996e99dcfc91a73049d..d94df1bcdbd9514e3307234845e1ff6a50884a38 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -6075,8 +6075,9 @@ mojo::shell::mojom::InterfaceProviderPtr RenderFrameImpl::ConnectToApplication(
all_interfaces.push_back("*");
filter->filter.insert("*", std::move(all_interfaces));
mojo_shell_->Connect(
- url.spec(), GetProxy(&interface_provider), nullptr,
- std::move(filter), base::Bind(&OnGotInstanceID));
+ url.spec(), mojo::shell::mojom::Shell::kUserInherit,
+ GetProxy(&interface_provider), nullptr, std::move(filter),
+ base::Bind(&OnGotInstanceID));
return interface_provider;
}
« no previous file with comments | « content/public/test/test_mojo_app.cc ('k') | content/test/data/web_ui_mojo_shell_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698