Index: services/shape_detection/shape_detection_service.h |
diff --git a/services/shape_detection/shape_detection_service.h b/services/shape_detection/shape_detection_service.h |
index ab7945620d7affed6bb7d8230015f77d3ce894cc..bf0f78c325e1c5497eda48d15f194a1cbb15154a 100644 |
--- a/services/shape_detection/shape_detection_service.h |
+++ b/services/shape_detection/shape_detection_service.h |
@@ -9,6 +9,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
+#include "services/service_manager/public/cpp/binder_registry.h" |
#include "services/service_manager/public/cpp/service.h" |
#include "services/service_manager/public/cpp/service_context_ref.h" |
@@ -23,11 +24,13 @@ class ShapeDetectionService : public service_manager::Service { |
~ShapeDetectionService() override; |
void OnStart() override; |
- bool OnConnect(const service_manager::ServiceInfo& remote_info, |
- service_manager::InterfaceRegistry* registry) override; |
+ void OnBindInterface(const service_manager::ServiceInfo& source_info, |
+ const std::string& interface_name, |
+ mojo::ScopedMessagePipeHandle interface_pipe) override; |
private: |
std::unique_ptr<service_manager::ServiceContextRefFactory> ref_factory_; |
+ service_manager::BinderRegistry registry_; |
DISALLOW_COPY_AND_ASSIGN(ShapeDetectionService); |
}; |