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

Unified Diff: mash/session/session.cc

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/session/session.h ('k') | mash/task_viewer/task_viewer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/session/session.cc
diff --git a/mash/session/session.cc b/mash/session/session.cc
index 5e34bf6158866012688cfe0d51395dcb4a347342..26f75d2344b99b78ce5847e3fa59862fcbf52de5 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -27,9 +27,9 @@ namespace session {
Session::Session() : connector_(nullptr), screen_locked_(false) {}
Session::~Session() {}
-void Session::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void Session::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
connector_ = connector;
StartAppDriver();
StartWindowManager();
@@ -37,7 +37,7 @@ void Session::Initialize(shell::Connector* connector,
StartQuickLaunch();
}
-bool Session::AcceptConnection(shell::Connection* connection) {
+bool Session::OnConnect(shell::Connection* connection) {
connection->AddInterface<mojom::Session>(this);
return true;
}
« no previous file with comments | « mash/session/session.h ('k') | mash/task_viewer/task_viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698