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

Unified Diff: mash/init/init.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/init/init.h ('k') | mash/login/login.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/init/init.cc
diff --git a/mash/init/init.cc b/mash/init/init.cc
index 9415b26250e9a2a4fb4ebee001706a3fa7930f8b..b6c6179df339c7bddef7ab00799203aff101b243 100644
--- a/mash/init/init.cc
+++ b/mash/init/init.cc
@@ -18,16 +18,16 @@ Init::Init()
: connector_(nullptr) {}
Init::~Init() {}
-void Init::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void Init::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
connector_ = connector;
connector_->Connect("mojo:ui");
StartTracing();
StartLogin();
}
-bool Init::AcceptConnection(shell::Connection* connection) {
+bool Init::OnConnect(shell::Connection* connection) {
connection->AddInterface<mojom::Init>(this);
return true;
}
« no previous file with comments | « mash/init/init.h ('k') | mash/login/login.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698