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

Unified Diff: components/resource_provider/resource_provider_app.cc

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 a4bc38a3312e1f9dfaad8570f814502fa1e58c2e..5e84fb4adc076799e38abb0c89ed28845b2f0fb7 100644
--- a/components/resource_provider/resource_provider_app.cc
+++ b/components/resource_provider/resource_provider_app.cc
@@ -21,13 +21,13 @@ ResourceProviderApp::ResourceProviderApp(
ResourceProviderApp::~ResourceProviderApp() {
}
-void ResourceProviderApp::Initialize(mojo::Connector* connector,
- const mojo::Identity& identity,
+void ResourceProviderApp::Initialize(shell::Connector* connector,
+ const shell::Identity& identity,
uint32_t id) {
tracing_.Initialize(connector, identity.name());
}
-bool ResourceProviderApp::AcceptConnection(mojo::Connection* connection) {
+bool ResourceProviderApp::AcceptConnection(shell::Connection* connection) {
const base::FilePath app_path(
GetPathForApplicationName(connection->GetRemoteIdentity().name()));
if (app_path.empty())
@@ -38,7 +38,7 @@ bool ResourceProviderApp::AcceptConnection(mojo::Connection* connection) {
}
void ResourceProviderApp::Create(
- mojo::Connection* connection,
+ shell::Connection* connection,
mojo::InterfaceRequest<ResourceProvider> request) {
const base::FilePath app_path(
GetPathForApplicationName(connection->GetRemoteIdentity().name()));
« no previous file with comments | « components/resource_provider/resource_provider_app.h ('k') | components/resource_provider/resource_provider_test_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698