diff options
author | ben <ben@chromium.org> | 2016-02-27 00:53:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-27 08:54:21 +0000 |
commit | c6eb8ad71579f9945976e5b4b4915f084388e5ae (patch) | |
tree | e52c8143199b096bbb8b91f4445e0778702d6371 /components/resource_provider/resource_provider_app.cc | |
parent | 2d1f2621d8e6dd10feba6cab380fb46d60cb3098 (diff) | |
download | chromium_src-c6eb8ad71579f9945976e5b4b4915f084388e5ae.zip chromium_src-c6eb8ad71579f9945976e5b4b4915f084388e5ae.tar.gz chromium_src-c6eb8ad71579f9945976e5b4b4915f084388e5ae.tar.bz2 |
Change Mojo URLs to structured names.
type:path
Remove GURLs from all over the place. This eliminates the need to register Mojo and Exe schemes.
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review URL: https://codereview.chromium.org/1743473002
Cr-Commit-Position: refs/heads/master@{#378130}
Diffstat (limited to 'components/resource_provider/resource_provider_app.cc')
-rw-r--r-- | components/resource_provider/resource_provider_app.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/resource_provider/resource_provider_app.cc b/components/resource_provider/resource_provider_app.cc index 85e6e28..a3cbbbe 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())); + GetPathForApplicationName(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())); + GetPathForApplicationName(connection->GetRemoteApplicationName())); // We validated path at AcceptConnection() time, so it should still // be valid. CHECK(!app_path.empty()); |