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

Unified Diff: mojo/runner/context.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/context.cc
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc
index 20babc9c188e0e3953c8d9b1cfb665a53b07a581..52e7946c97bd6e060d9e96896b6004b83b436e8f 100644
--- a/mojo/runner/context.cc
+++ b/mojo/runner/context.cc
@@ -315,8 +315,8 @@ bool Context::Init() {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From("mojo:tracing");
application_manager_.ConnectToApplication(
- nullptr, request.Pass(), std::string(), GURL(),
- GetProxy(&service_provider_ptr), tracing_service_provider_ptr.Pass(),
+ nullptr, request.Pass(), std::string(), GetProxy(&service_provider_ptr),
+ tracing_service_provider_ptr.Pass(),
shell::GetPermissiveCapabilityFilter(), base::Closure(),
shell::EmptyConnectCallback());
@@ -383,7 +383,7 @@ void Context::Run(const GURL& url) {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(url.spec());
application_manager_.ConnectToApplication(
- nullptr, request.Pass(), std::string(), GURL(), GetProxy(&services),
+ nullptr, request.Pass(), std::string(), GetProxy(&services),
exposed_services.Pass(), shell::GetPermissiveCapabilityFilter(),
base::Bind(&Context::OnApplicationEnd, base::Unretained(this), url),
shell::EmptyConnectCallback());

Powered by Google App Engine
This is Rietveld 408576698