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

Unified Diff: mash/session/session.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/session/main.cc ('k') | mash/session/session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/session/session.h
diff --git a/mash/session/session.h b/mash/session/session.h
index 8128a51f0a37084d26192cdcc593d567fed3500b..d589db80b45073ff6ea213c0daff92128b3a6142 100644
--- a/mash/session/session.h
+++ b/mash/session/session.h
@@ -23,19 +23,19 @@ class Connection;
namespace mash {
namespace session {
-class Session : public mojo::ShellClient,
+class Session : public shell::ShellClient,
public mojom::Session,
- public mojo::InterfaceFactory<mojom::Session> {
+ public shell::InterfaceFactory<mojom::Session> {
public:
Session();
~Session() 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;
// mojom::Session:
void Logout() override;
@@ -45,8 +45,8 @@ class Session : public mojo::ShellClient,
void LockScreen() override;
void UnlockScreen() override;
- // mojo::InterfaceFactory<mojom::Session>:
- void Create(mojo::Connection* connection,
+ // shell::InterfaceFactory<mojom::Session>:
+ void Create(shell::Connection* connection,
mojom::SessionRequest request) override;
void StartWindowManager();
@@ -62,8 +62,8 @@ class Session : public mojo::ShellClient,
void StartRestartableService(const std::string& url,
const base::Closure& restart_callback);
- mojo::Connector* connector_;
- std::map<std::string, std::unique_ptr<mojo::Connection>> connections_;
+ shell::Connector* connector_;
+ std::map<std::string, std::unique_ptr<shell::Connection>> connections_;
bool screen_locked_;
mojo::BindingSet<mojom::Session> bindings_;
mojo::InterfacePtrSet<mojom::ScreenlockStateListener> screenlock_listeners_;
« no previous file with comments | « mash/session/main.cc ('k') | mash/session/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698