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

Unified Diff: mash/session/session.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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 ef992a7258e0e956cda6522024b222d28b6a74a6..e653ef0102f7a797cae085da6a58d6e3e76a236b 100644
--- a/mash/session/session.h
+++ b/mash/session/session.h
@@ -23,18 +23,18 @@ class Connection;
namespace mash {
namespace session {
-class Session : public shell::Service,
+class Session : public service_manager::Service,
public mojom::Session,
- public shell::InterfaceFactory<mojom::Session> {
+ public service_manager::InterfaceFactory<mojom::Session> {
public:
Session();
~Session() override;
private:
- // shell::Service:
- void OnStart(const shell::Identity& identity) override;
- bool OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry) override;
+ // service_manager::Service:
+ void OnStart(const service_manager::Identity& identity) override;
+ bool OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry) override;
// mojom::Session:
void Logout() override;
@@ -44,8 +44,8 @@ class Session : public shell::Service,
void LockScreen() override;
void UnlockScreen() override;
- // shell::InterfaceFactory<mojom::Session>:
- void Create(const shell::Identity& remote_identity,
+ // service_manager::InterfaceFactory<mojom::Session>:
+ void Create(const service_manager::Identity& remote_identity,
mojom::SessionRequest request) override;
void StartWindowManager();
@@ -60,7 +60,8 @@ class Session : public shell::Service,
void StartRestartableService(const std::string& url,
const base::Closure& restart_callback);
- std::map<std::string, std::unique_ptr<shell::Connection>> connections_;
+ std::map<std::string, std::unique_ptr<service_manager::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