Index: services/preferences/pref_store_manager_impl.h |
diff --git a/services/preferences/pref_store_manager_impl.h b/services/preferences/pref_store_manager_impl.h |
index d24eca9b90d323844082ae46030db0020eff68cf..bc7eb1e6c457cf263839a63914c96dab83ed6410 100644 |
--- a/services/preferences/pref_store_manager_impl.h |
+++ b/services/preferences/pref_store_manager_impl.h |
@@ -16,6 +16,7 @@ |
#include "components/prefs/pref_value_store.h" |
#include "mojo/public/cpp/bindings/binding_set.h" |
#include "services/preferences/public/interfaces/preferences.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" |
@@ -84,8 +85,9 @@ class PrefStoreManagerImpl |
// 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; |
// Called when a PrefStore previously registered using |Register| disconnects. |
void OnPrefStoreDisconnect(PrefValueStore::PrefStoreType type); |
@@ -124,6 +126,8 @@ class PrefStoreManagerImpl |
const scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
+ service_manager::BinderRegistry registry_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PrefStoreManagerImpl); |
}; |