Index: services/file/file_service.h |
diff --git a/services/file/file_service.h b/services/file/file_service.h |
index 357aa88dc6377db96425c42cbbd7aa82758edb36..c91490a69f69e5d8300f187b631c85ba0c4eb4f2 100644 |
--- a/services/file/file_service.h |
+++ b/services/file/file_service.h |
@@ -11,6 +11,7 @@ |
#include "components/leveldb/public/interfaces/leveldb.mojom.h" |
#include "mojo/public/cpp/bindings/binding_set.h" |
#include "services/file/public/interfaces/file_system.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" |
@@ -33,8 +34,9 @@ class FileService |
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::FileSystem>| implementation: |
void Create(const service_manager::Identity& remote_identity, |
@@ -57,6 +59,8 @@ class FileService |
class LevelDBServiceObjects; |
std::unique_ptr<LevelDBServiceObjects> leveldb_objects_; |
+ service_manager::BinderRegistry registry_; |
+ |
DISALLOW_COPY_AND_ASSIGN(FileService); |
}; |