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

Unified Diff: services/ui/demo/mus_demo_service.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 | « services/ui/demo/mus_demo_service.h ('k') | services/ui/ime/test_ime_driver/test_ime_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo_service.cc
diff --git a/services/ui/demo/mus_demo_service.cc b/services/ui/demo/mus_demo_service.cc
index cb6c5ad874fbc00aa62ce3066612d4fc2ea878f5..fdd5a54ed330c2049ccfed9fa85aa0a2e77f097a 100644
--- a/services/ui/demo/mus_demo_service.cc
+++ b/services/ui/demo/mus_demo_service.cc
@@ -14,11 +14,11 @@ MusDemoService::MusDemoService() : mus_demo_(base::MakeUnique<MusDemo>()) {}
MusDemoService::~MusDemoService() {}
-void MusDemoService::OnStart(const service_manager::Identity& identity) {
+void MusDemoService::OnStart(const service_manager::ServiceInfo& info) {
mus_demo_->Start(connector());
}
-bool MusDemoService::OnConnect(const service_manager::Identity& remote_identity,
+bool MusDemoService::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
return true;
}
« no previous file with comments | « services/ui/demo/mus_demo_service.h ('k') | services/ui/ime/test_ime_driver/test_ime_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698