| Index: components/filesystem/file_system_app.h
|
| diff --git a/components/filesystem/file_system_app.h b/components/filesystem/file_system_app.h
|
| index 452686a31099cc66201b17993f8f608bfa626719..be424c7f3b98860447082431064372afe3b2ebda 100644
|
| --- a/components/filesystem/file_system_app.h
|
| +++ b/components/filesystem/file_system_app.h
|
| @@ -11,7 +11,7 @@
|
| #include "components/filesystem/lock_table.h"
|
| #include "components/filesystem/public/interfaces/file_system.mojom.h"
|
| #include "services/shell/public/cpp/interface_factory.h"
|
| -#include "services/shell/public/cpp/shell_client.h"
|
| +#include "services/shell/public/cpp/service.h"
|
| #include "services/tracing/public/cpp/tracing_impl.h"
|
|
|
| namespace mojo {
|
| @@ -20,7 +20,7 @@ class Connector;
|
|
|
| namespace filesystem {
|
|
|
| -class FileSystemApp : public shell::ShellClient,
|
| +class FileSystemApp : public shell::Service,
|
| public shell::InterfaceFactory<mojom::FileSystem> {
|
| public:
|
| FileSystemApp();
|
| @@ -30,11 +30,12 @@ class FileSystemApp : public shell::ShellClient,
|
| // Gets the system specific toplevel profile directory.
|
| static base::FilePath GetUserDataDir();
|
|
|
| - // |shell::ShellClient| override:
|
| - void Initialize(shell::Connector* connector,
|
| - const shell::Identity& identity,
|
| - uint32_t id) override;
|
| - bool AcceptConnection(shell::Connection* connection) override;
|
| + // |shell::Service| override:
|
| + void OnStart(shell::Connector* connector,
|
| + const shell::Identity& identity,
|
| + uint32_t id) override;
|
| + bool OnConnect(shell::Connection* connection) override;
|
| +
|
| // |InterfaceFactory<Files>| implementation:
|
| void Create(shell::Connection* connection,
|
| mojo::InterfaceRequest<mojom::FileSystem> request) override;
|
|
|