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

Unified Diff: components/resource_provider/public/cpp/resource_loader.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: nuke comment 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
« no previous file with comments | « components/pdf_viewer/pdf_viewer.cc ('k') | content/browser/frame_host/frame_mojo_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/resource_provider/public/cpp/resource_loader.cc
diff --git a/components/resource_provider/public/cpp/resource_loader.cc b/components/resource_provider/public/cpp/resource_loader.cc
index e26c9dc3721606bcb284bda304b2a5b7680e5008..3b6ea1681f8a5db3befc7e2d9ebe8bb3fcb9a8ec 100644
--- a/components/resource_provider/public/cpp/resource_loader.cc
+++ b/components/resource_provider/public/cpp/resource_loader.cc
@@ -29,10 +29,9 @@ ResourceLoader::ResourceLoader(mojo::Shell* shell,
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From("mojo:resource_provider");
mojo::ServiceProviderPtr resource_provider_service_provider;
- shell->ConnectToApplication(request.Pass(),
- GetProxy(&resource_provider_service_provider),
- nullptr,
- nullptr);
+ shell->ConnectToApplication(
+ request.Pass(), GetProxy(&resource_provider_service_provider), nullptr,
+ nullptr, mojo::Shell::ConnectToApplicationCallback());
mojo::ConnectToService(resource_provider_service_provider.get(),
&resource_provider_);
std::vector<std::string> paths_vector(paths.begin(), paths.end());
« no previous file with comments | « components/pdf_viewer/pdf_viewer.cc ('k') | content/browser/frame_host/frame_mojo_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698