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

Unified Diff: mojo/runner/shell_test_base.cc

Issue 1244233002: Allow trusted brokers to restrict connections for spawned applications to whitelisted applications … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 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 f58780f0226988198589905b2620215677c7331f..2067bd518804526a75014e746f4b79109d4d680f 100644
--- a/mojo/runner/shell_test_base.cc
+++ b/mojo/runner/shell_test_base.cc
@@ -51,8 +51,8 @@ ScopedMessagePipeHandle ShellTestBase::ConnectToService(
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(application_url.spec());
shell_context_.application_manager()->ConnectToApplication(
- request.Pass(), std::string(), GURL(), GetProxy(&services), nullptr,
- base::Bind(&QuitIfRunning));
+ nullptr, request.Pass(), std::string(), GURL(), GetProxy(&services),
+ nullptr, nullptr, base::Bind(&QuitIfRunning));
MessagePipe pipe;
services->ConnectToService(service_name, pipe.handle1.Pass());
return pipe.handle0.Pass();

Powered by Google App Engine
This is Rietveld 408576698