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

Unified Diff: services/service_manager/tests/connect/connect_test_exe.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/tests/connect/connect_test_exe.cc
diff --git a/services/service_manager/tests/connect/connect_test_exe.cc b/services/service_manager/tests/connect/connect_test_exe.cc
index f76ae3bb2989795e94ae71e111e74ca1ab14af2c..d28e721647b6f7e600b2f33ba00e2a68093bb66f 100644
--- a/services/service_manager/tests/connect/connect_test_exe.cc
+++ b/services/service_manager/tests/connect/connect_test_exe.cc
@@ -29,10 +29,10 @@ class Target : public service_manager::Service,
private:
// service_manager::Service:
- void OnStart(const service_manager::Identity& identity) override {
- identity_ = identity;
+ void OnStart(const service_manager::ServiceInfo& info) override {
+ identity_ = info.identity;
}
- bool OnConnect(const service_manager::Identity& remote_identity,
+ bool OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) override {
registry->AddInterface<ConnectTestService>(this);
return true;

Powered by Google App Engine
This is Rietveld 408576698