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

Unified Diff: mojo/runner/shell_test_base.cc

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 5 years, 4 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 efa5656bcff5f25d06837b1bfcb4a3e49b487111..01a9fb743b677df566750abd99c4649189123694 100644
--- a/mojo/runner/shell_test_base.cc
+++ b/mojo/runner/shell_test_base.cc
@@ -52,9 +52,10 @@ 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, request.Pass(), std::string(), GURL(),
+ shell::ApplicationManager::kInvalidContentHandlerID, GetProxy(&services),
nullptr, shell::GetPermissiveCapabilityFilter(),
- base::Bind(&QuitIfRunning));
+ 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