Index: services/identity/identity_service.h |
diff --git a/services/identity/identity_service.h b/services/identity/identity_service.h |
index b2fd9c796c6e7c4dfea42859103844c08f8a68bb..4d1192fdb4de2fe94acd296ca57cf288ed7bcf9b 100644 |
--- a/services/identity/identity_service.h |
+++ b/services/identity/identity_service.h |
@@ -6,6 +6,7 @@ |
#define SERVICES_IDENTITY_IDENTITY_SERVICE_H_ |
#include "services/identity/public/interfaces/identity_manager.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/service.h" |
@@ -23,8 +24,9 @@ class IdentityService |
private: |
// |Service| 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; |
// InterfaceFactory<mojom::IdentityManager>: |
void Create(const service_manager::Identity& remote_identity, |
@@ -32,6 +34,8 @@ class IdentityService |
SigninManagerBase* signin_manager_; |
+ service_manager::BinderRegistry registry_; |
+ |
DISALLOW_COPY_AND_ASSIGN(IdentityService); |
}; |