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

Unified Diff: components/view_manager/public/cpp/lib/view_manager_init.cc

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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: components/view_manager/public/cpp/lib/view_manager_init.cc
diff --git a/components/view_manager/public/cpp/lib/view_manager_init.cc b/components/view_manager/public/cpp/lib/view_manager_init.cc
index 965bcfce9cd95e76dfd51021d2ae6267aed486b2..8c69007957603facc54e5b44559149c80b0cac5f 100644
--- a/components/view_manager/public/cpp/lib/view_manager_init.cc
+++ b/components/view_manager/public/cpp/lib/view_manager_init.cc
@@ -31,8 +31,10 @@ ViewManagerInit::ViewManagerInit(ApplicationImpl* app,
ViewManagerDelegate* delegate,
ViewManagerRootClient* root_client)
: app_(app), delegate_(delegate), client_factory_(new ClientFactory(this)) {
+ mojo::URLRequestPtr request(mojo::URLRequest::New());
+ request->url = mojo::String::From("mojo:view_manager");
ApplicationConnection* connection =
- app_->ConnectToApplication("mojo:view_manager");
+ app_->ConnectToApplication(request.Pass());
connection->AddService(client_factory_.get());
connection->ConnectToService(&service_);
service_.set_error_handler(this);
« no previous file with comments | « components/view_manager/public/cpp/lib/view_manager_context.cc ('k') | components/view_manager/public/cpp/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698