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

Unified Diff: services/service_manager/public/cpp/lib/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
Index: services/service_manager/public/cpp/lib/service.cc
diff --git a/services/service_manager/public/cpp/lib/service.cc b/services/service_manager/public/cpp/lib/service.cc
index 271c3572cc8a615833b5b7d14930d866df0c3d1b..1cc8f631f96a95185f53bf4f30550650ea26b71d 100644
--- a/services/service_manager/public/cpp/lib/service.cc
+++ b/services/service_manager/public/cpp/lib/service.cc
@@ -5,15 +5,16 @@
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_context.h"
+#include "services/service_manager/public/cpp/service_info.h"
namespace service_manager {
Service::Service() {}
Service::~Service() {}
-void Service::OnStart(const Identity& identity) {}
+void Service::OnStart(const ServiceInfo& info) {}
-bool Service::OnConnect(const Identity& remote_identity,
+bool Service::OnConnect(const ServiceInfo& remote_info,
InterfaceRegistry* registry) {
return false;
}
« no previous file with comments | « services/service_manager/background/tests/test_service.cc ('k') | services/service_manager/public/cpp/lib/service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698