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

Unified Diff: services/user/user_shell_client.h

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/user/user_service.h ('k') | services/user/user_shell_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/user/user_shell_client.h
diff --git a/services/user/user_shell_client.h b/services/user/user_shell_client.h
index de52157e01cac978383cd2ebd5b88f53cd9c2b3b..f9c5dda4e074d43ce2b2f72e3b6daa042d7d4dfa 100644
--- a/services/user/user_shell_client.h
+++ b/services/user/user_shell_client.h
@@ -16,13 +16,14 @@
namespace user_service {
-scoped_ptr<mojo::ShellClient> CreateUserShellClient(
+scoped_ptr<shell::ShellClient> CreateUserShellClient(
scoped_refptr<base::SingleThreadTaskRunner> user_service_runner,
scoped_refptr<base::SingleThreadTaskRunner> leveldb_service_runner);
-class UserShellClient : public mojo::ShellClient,
- public mojo::InterfaceFactory<mojom::UserService>,
- public mojo::InterfaceFactory<leveldb::LevelDBService> {
+class UserShellClient
+ : public shell::ShellClient,
+ public shell::InterfaceFactory<mojom::UserService>,
+ public shell::InterfaceFactory<leveldb::LevelDBService> {
public:
UserShellClient(
scoped_refptr<base::SingleThreadTaskRunner> user_service_runner,
@@ -31,20 +32,20 @@ class UserShellClient : public mojo::ShellClient,
private:
// |ShellClient| override:
- void Initialize(mojo::Connector* connector,
- const mojo::Identity& identity,
+ void Initialize(shell::Connector* connector,
+ const shell::Identity& identity,
uint32_t id) override;
- bool AcceptConnection(mojo::Connection* connection) override;
+ bool AcceptConnection(shell::Connection* connection) override;
// |InterfaceFactory<mojom::UserService>| implementation:
- void Create(mojo::Connection* connection,
+ void Create(shell::Connection* connection,
mojom::UserServiceRequest request) override;
// |InterfaceFactory<LevelDBService>| implementation:
- void Create(mojo::Connection* connection,
+ void Create(shell::Connection* connection,
leveldb::LevelDBServiceRequest request) override;
- void OnLevelDBServiceRequest(mojo::Connection* connection,
+ void OnLevelDBServiceRequest(shell::Connection* connection,
leveldb::LevelDBServiceRequest request);
void OnLevelDBServiceError();
« no previous file with comments | « services/user/user_service.h ('k') | services/user/user_shell_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698