Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: components/filesystem/file_system_app.h

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp-ify all the tracing stuff. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698