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

Unified Diff: components/resource_provider/resource_provider_app.cc

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 years, 10 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: components/resource_provider/resource_provider_app.cc
diff --git a/components/resource_provider/resource_provider_app.cc b/components/resource_provider/resource_provider_app.cc
index 85e6e2810d5dfbc7b6e7669bad69a5aecaecee25..1d0d253bbb668f3ce1e78597dab495f9defce819 100644
--- a/components/resource_provider/resource_provider_app.cc
+++ b/components/resource_provider/resource_provider_app.cc
@@ -29,7 +29,7 @@ void ResourceProviderApp::Initialize(mojo::Connector* connector,
bool ResourceProviderApp::AcceptConnection(mojo::Connection* connection) {
const base::FilePath app_path(
- GetPathForApplicationUrl(connection->GetRemoteApplicationURL()));
+ GetPathForApplicationUrl(connection->GetRemoteApplicationName()));
if (app_path.empty())
return false; // The specified app has no resources.
@@ -41,7 +41,7 @@ void ResourceProviderApp::Create(
mojo::Connection* connection,
mojo::InterfaceRequest<ResourceProvider> request) {
const base::FilePath app_path(
- GetPathForApplicationUrl(connection->GetRemoteApplicationURL()));
+ GetPathForApplicationUrl(connection->GetRemoteApplicationName()));
// We validated path at AcceptConnection() time, so it should still
// be valid.
CHECK(!app_path.empty());

Powered by Google App Engine
This is Rietveld 408576698