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

Unified Diff: mojo/runner/shell_test_base.cc

Issue 1318523007: Remove |requestor_url| from ApplicationManager::ConnectToApplication(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: mojo/runner/shell_test_base.cc
diff --git a/mojo/runner/shell_test_base.cc b/mojo/runner/shell_test_base.cc
index 890ff3d29f1071f7eaf346d28794a6745feaf70b..820e664da0d3bdeb34a60efa645ba3c334723104 100644
--- a/mojo/runner/shell_test_base.cc
+++ b/mojo/runner/shell_test_base.cc
@@ -52,9 +52,9 @@ ScopedMessagePipeHandle ShellTestBase::ConnectToService(
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(application_url.spec());
shell_context_.application_manager()->ConnectToApplication(
- nullptr, request.Pass(), std::string(), GURL(), GetProxy(&services),
- nullptr, shell::GetPermissiveCapabilityFilter(),
- base::Bind(&QuitIfRunning), shell::EmptyConnectCallback());
+ nullptr, request.Pass(), std::string(), GetProxy(&services), nullptr,
+ shell::GetPermissiveCapabilityFilter(), base::Bind(&QuitIfRunning),
+ shell::EmptyConnectCallback());
MessagePipe pipe;
services->ConnectToService(service_name, pipe.handle1.Pass());
return pipe.handle0.Pass();

Powered by Google App Engine
This is Rietveld 408576698