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

Unified Diff: services/catalog/factory.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
« no previous file with comments | « services/catalog/factory.h ('k') | services/shell/background/background_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/factory.cc
diff --git a/services/catalog/factory.cc b/services/catalog/factory.cc
index d687b88789459bbe73045001e13290ee784d18ad..0d98c7fa5f1a56e98e9696f5bce95aa3fb57c9f2 100644
--- a/services/catalog/factory.cc
+++ b/services/catalog/factory.cc
@@ -18,38 +18,38 @@ Factory::Factory(base::TaskRunner* file_task_runner,
store_(std::move(store)),
manifest_provider_(manifest_provider),
weak_factory_(this) {
- mojo::shell::mojom::ShellClientRequest request = GetProxy(&shell_client_);
- shell_connection_.reset(new mojo::ShellConnection(this, std::move(request)));
+ shell::mojom::ShellClientRequest request = GetProxy(&shell_client_);
+ shell_connection_.reset(new shell::ShellConnection(this, std::move(request)));
}
Factory::~Factory() {}
-mojo::shell::mojom::ShellClientPtr Factory::TakeShellClient() {
+shell::mojom::ShellClientPtr Factory::TakeShellClient() {
return std::move(shell_client_);
}
-bool Factory::AcceptConnection(mojo::Connection* connection) {
+bool Factory::AcceptConnection(shell::Connection* connection) {
connection->AddInterface<mojom::Catalog>(this);
connection->AddInterface<mojom::Resolver>(this);
- connection->AddInterface<mojo::shell::mojom::ShellResolver>(this);
+ connection->AddInterface<shell::mojom::ShellResolver>(this);
return true;
}
-void Factory::Create(mojo::Connection* connection,
+void Factory::Create(shell::Connection* connection,
mojom::ResolverRequest request) {
Catalog* instance =
GetCatalogForUserId(connection->GetRemoteIdentity().user_id());
instance->BindResolver(std::move(request));
}
-void Factory::Create(mojo::Connection* connection,
- mojo::shell::mojom::ShellResolverRequest request) {
+void Factory::Create(shell::Connection* connection,
+ shell::mojom::ShellResolverRequest request) {
Catalog* instance =
GetCatalogForUserId(connection->GetRemoteIdentity().user_id());
instance->BindShellResolver(std::move(request));
}
-void Factory::Create(mojo::Connection* connection,
+void Factory::Create(shell::Connection* connection,
mojom::CatalogRequest request) {
Catalog* instance =
GetCatalogForUserId(connection->GetRemoteIdentity().user_id());
« no previous file with comments | « services/catalog/factory.h ('k') | services/shell/background/background_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698