Index: services/data_decoder/data_decoder_service.h |
diff --git a/services/data_decoder/data_decoder_service.h b/services/data_decoder/data_decoder_service.h |
index b1c0b516c859b615e256bf8b29b67c9b6d55211a..0de223d1890ac3c07372f68a557edc0f584ba48d 100644 |
--- a/services/data_decoder/data_decoder_service.h |
+++ b/services/data_decoder/data_decoder_service.h |
@@ -10,6 +10,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/memory/weak_ptr.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" |
@@ -25,14 +26,16 @@ class DataDecoderService : public service_manager::Service { |
// service_manager::Service: |
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: |
void MaybeRequestQuitDelayed(); |
void MaybeRequestQuit(); |
std::unique_ptr<service_manager::ServiceContextRefFactory> ref_factory_; |
+ service_manager::BinderRegistry registry_; |
base::WeakPtrFactory<DataDecoderService> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(DataDecoderService); |