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

Unified Diff: mash/session/session.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/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 76aeda066fe713903b8ce86b62de2d62c61cc187..24b64cb246b61f2d81b01778a2abce9b9aa6ab64 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -27,7 +27,7 @@ namespace session {
Session::Session() : screen_locked_(false) {}
Session::~Session() {}
-void Session::OnStart(const service_manager::Identity& identity) {
+void Session::OnStart(const service_manager::ServiceInfo& info) {
StartAppDriver();
StartWindowManager();
StartQuickLaunch();
@@ -35,7 +35,7 @@ void Session::OnStart(const service_manager::Identity& identity) {
connector()->Connect("service:content_browser");
}
-bool Session::OnConnect(const service_manager::Identity& remote_identity,
+bool Session::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
registry->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