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

Unified Diff: services/service_manager/tests/service_manager/target.cc

Issue 2795883002: Eliminate OnConnect usage (Closed)
Patch Set: . Created 3 years, 8 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/service_manager/target.cc
diff --git a/services/service_manager/tests/service_manager/target.cc b/services/service_manager/tests/service_manager/target.cc
index a3818134aecd2288c70cdc9c4d64a20f2a98bffa..bbfd5e78c8626a87206f2a74354e0f0561707f3b 100644
--- a/services/service_manager/tests/service_manager/target.cc
+++ b/services/service_manager/tests/service_manager/target.cc
@@ -31,11 +31,9 @@ class Target : public service_manager::Service {
&service);
service->SetTargetIdentity(context()->identity());
}
-
- bool OnConnect(const service_manager::ServiceInfo& remote_info,
- service_manager::InterfaceRegistry* registry) override {
- return false;
- }
+ void OnBindInterface(const service_manager::ServiceInfo& source_info,
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe) override {}
DISALLOW_COPY_AND_ASSIGN(Target);
};
« no previous file with comments | « services/service_manager/tests/service_manager/embedder.cc ('k') | services/shape_detection/shape_detection_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698