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

Unified Diff: mash/init/init.cc

Issue 2435153004: Change Service contract to pass ServiceInfo instead of Identity (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/init/init.h ('k') | mash/login/login.cc » ('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 c1d5985942ef8a602c420eb4fa00c9f81aef138d..496cc1a839096f8e8f73597f6176f1fe17e5729a 100644
--- a/mash/init/init.cc
+++ b/mash/init/init.cc
@@ -17,13 +17,13 @@ namespace init {
Init::Init() {}
Init::~Init() {}
-void Init::OnStart(const service_manager::Identity& identity) {
+void Init::OnStart(const service_manager::ServiceInfo& info) {
connector()->Connect("service:ui");
StartTracing();
StartLogin();
}
-bool Init::OnConnect(const service_manager::Identity& remote_identity,
+bool Init::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
registry->AddInterface<mojom::Init>(this);
return true;
« no previous file with comments | « mash/init/init.h ('k') | mash/login/login.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698