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

Unified Diff: components/html_viewer/html_viewer.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
« no previous file with comments | « components/html_viewer/html_document.cc ('k') | components/html_viewer/web_media_player_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_viewer.cc
diff --git a/components/html_viewer/html_viewer.cc b/components/html_viewer/html_viewer.cc
index dd2043462673249b12cea833bf5f8197f00149f1..bd45b87b448a30d28a3f032ac6538d569e8fc473 100644
--- a/components/html_viewer/html_viewer.cc
+++ b/components/html_viewer/html_viewer.cc
@@ -53,7 +53,9 @@ class HTMLViewerApplication : public mojo::Application {
void Initialize(ShellPtr shell, const String& url) override {
ServiceProviderPtr service_provider;
shell_ = shell.Pass();
- shell_->ConnectToApplication("mojo:network_service",
+ mojo::URLRequestPtr request(mojo::URLRequest::New());
+ request->url = mojo::String::From("mojo:network_service");
+ shell_->ConnectToApplication(request.Pass(),
GetProxy(&service_provider), nullptr);
ConnectToService(service_provider.get(), &network_service_);
}
« no previous file with comments | « components/html_viewer/html_document.cc ('k') | components/html_viewer/web_media_player_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698