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

Unified Diff: mojo/services/network/network_service_delegate.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 | « mojo/services/network/http_server_apptest.cc ('k') | mojo/services/network/udp_socket_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/network_service_delegate.cc
diff --git a/mojo/services/network/network_service_delegate.cc b/mojo/services/network/network_service_delegate.cc
index 0a439642f6e77cffc4c35f4f1e674d9635ba185a..d5b90db03215de947c449fe4fef18c75f8c1d059 100644
--- a/mojo/services/network/network_service_delegate.cc
+++ b/mojo/services/network/network_service_delegate.cc
@@ -93,9 +93,7 @@ void NetworkServiceDelegate::Initialize(ApplicationImpl* app) {
// to OpenFileSystem, the entire mojo system hangs to the point where writes
// to stderr that previously would have printed to our console aren't. The
// apptests are also fairly resistant to being run under gdb on android.
- URLRequestPtr request(URLRequest::New());
- request->url = String::From("mojo:filesystem");
- app_->ConnectToService(request.Pass(), &files_);
+ app_->ConnectToService("mojo:filesystem", &files_);
filesystem::FileSystemClientPtr client;
binding_.Bind(GetProxy(&client));
« no previous file with comments | « mojo/services/network/http_server_apptest.cc ('k') | mojo/services/network/udp_socket_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698