Chromium Code Reviews| Index: components/filesystem/file_system_app.h |
| diff --git a/components/filesystem/file_system_app.h b/components/filesystem/file_system_app.h |
| index 3279415e507608ed83408d085ffebde572b362dd..1c659ef8e6ac8187a97c2471f359006e5f11d389 100644 |
| --- a/components/filesystem/file_system_app.h |
| +++ b/components/filesystem/file_system_app.h |
| @@ -20,16 +20,16 @@ class Shell; |
| namespace filesystem { |
| +scoped_ptr<mojo::ShellClient> CreateFileSystemApp( |
| + const base::FilePath& persistent_dir); |
| + |
| class FileSystemApp : public mojo::ShellClient, |
| public mojo::InterfaceFactory<FileSystem> { |
| public: |
| - FileSystemApp(); |
| + FileSystemApp(const base::FilePath& persistent_dir); |
|
michaeln
2016/02/26 21:59:24
root_directory or plain old directory are less loa
|
| ~FileSystemApp() override; |
| private: |
| - // Gets the system specific toplevel profile directory. |
| - static base::FilePath GetUserDataDir(); |
| - |
| // |mojo::ShellClient| override: |
| void Initialize(mojo::Shell* shell, const std::string& url, |
| uint32_t id, uint32_t user_id) override; |
| @@ -44,6 +44,8 @@ class FileSystemApp : public mojo::ShellClient, |
| scoped_ptr<LockTable> lock_table_; |
| + base::FilePath persistent_dir_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(FileSystemApp); |
| }; |