Index: services/device/device_service.h |
diff --git a/services/device/device_service.h b/services/device/device_service.h |
index c4ed1276751911e1f61d33dbedad2bdc477e92d3..4291e7f25668253853457e105cb96eda214d563e 100644 |
--- a/services/device/device_service.h |
+++ b/services/device/device_service.h |
@@ -18,6 +18,7 @@ |
#include "services/device/public/interfaces/fingerprint.mojom.h" |
#include "services/device/public/interfaces/power_monitor.mojom.h" |
#include "services/device/public/interfaces/time_zone_monitor.mojom.h" |
+#include "services/service_manager/public/cpp/binder_registry.h" |
#include "services/service_manager/public/cpp/interface_factory.h" |
#include "services/service_manager/public/cpp/interface_provider.h" |
#include "services/service_manager/public/cpp/service.h" |
@@ -75,8 +76,9 @@ class DeviceService |
private: |
// 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; |
// InterfaceFactory<mojom::Fingerprint>: |
void Create(const service_manager::Identity& remote_identity, |
@@ -142,6 +144,8 @@ class DeviceService |
WakeLockContextCallback wake_lock_context_callback_; |
+ service_manager::BinderRegistry registry_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DeviceService); |
}; |