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

Unified Diff: mash/init/init.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 | « mash/example/window_type_launcher/window_type_launcher.cc ('k') | mash/init/init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/init/init.h
diff --git a/mash/init/init.h b/mash/init/init.h
index 9f49662af8bfcb5d1e3f75a398b30d17f7adf16b..9c90747b155ec75754a4eefaab8cc12c0f14a1dc 100644
--- a/mash/init/init.h
+++ b/mash/init/init.h
@@ -22,21 +22,22 @@ class Connection;
namespace mash {
namespace init {
-class Init : public mojo::ShellClient,
- public mojo::InterfaceFactory<mojom::Init>,
+class Init : public shell::ShellClient,
+ public shell::InterfaceFactory<mojom::Init>,
public mojom::Init {
public:
Init();
~Init() override;
private:
- // mojo::ShellClient:
- void Initialize(mojo::Connector* connector, const mojo::Identity& identity,
+ // shell::ShellClient:
+ 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;
- // mojo::InterfaceFactory<mojom::Login>:
- void Create(mojo::Connection* connection,
+ // shell::InterfaceFactory<mojom::Login>:
+ void Create(shell::Connection* connection,
mojom::InitRequest request) override;
// mojom::Init:
@@ -50,10 +51,10 @@ class Init : public mojo::ShellClient,
void StartResourceProvider();
void StartLogin();
- mojo::Connector* connector_;
- std::unique_ptr<mojo::Connection> login_connection_;
+ shell::Connector* connector_;
+ std::unique_ptr<shell::Connection> login_connection_;
mojo::BindingSet<mojom::Init> init_bindings_;
- std::map<std::string, std::unique_ptr<mojo::Connection>> user_services_;
+ std::map<std::string, std::unique_ptr<shell::Connection>> user_services_;
DISALLOW_COPY_AND_ASSIGN(Init);
};
« no previous file with comments | « mash/example/window_type_launcher/window_type_launcher.cc ('k') | mash/init/init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698