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

Unified Diff: mash/session/session.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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/screenlock/screenlock.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 571ef4ba70df7af10cdc7fb5596ac643fbf480e8..c8714a0130077367f6ad3e5ee508c2032e2985b5 100644
--- a/mash/session/session.h
+++ b/mash/session/session.h
@@ -14,7 +14,7 @@
#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/public/cpp/bindings/interface_ptr_set.h"
#include "services/shell/public/cpp/interface_factory.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
namespace mojo {
class Connection;
@@ -23,7 +23,7 @@ class Connection;
namespace mash {
namespace session {
-class Session : public shell::ShellClient,
+class Session : public shell::Service,
public mojom::Session,
public shell::InterfaceFactory<mojom::Session> {
public:
@@ -31,11 +31,11 @@ class Session : public shell::ShellClient,
~Session() override;
private:
- // shell::ShellClient:
- void Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override;
- bool AcceptConnection(shell::Connection* connection) override;
+ // shell::Service:
+ void OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) override;
+ bool OnConnect(shell::Connection* connection) override;
// mojom::Session:
void Logout() override;
« no previous file with comments | « mash/screenlock/screenlock.cc ('k') | mash/session/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698