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

Unified Diff: webkit/fileapi/file_system_context.h

Issue 11090019: Add LocalFileSyncContext class which wires up profile-owned service and FileSystemContext(s) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments #4 Created 8 years, 2 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
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_context.h
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h
index d3ea22e2fde2ad4a9cb0d979be3ee69822bd59bc..c5844eb86bc6d4dff5a4d207c574abb2f690d910 100644
--- a/webkit/fileapi/file_system_context.h
+++ b/webkit/fileapi/file_system_context.h
@@ -41,6 +41,7 @@ class FileSystemURL;
class IsolatedMountPointProvider;
class LocalFileChangeTracker;
class SandboxMountPointProvider;
+class LocalFileSyncContext;
struct DefaultContextDeleter;
@@ -165,6 +166,9 @@ class FILEAPI_EXPORT FileSystemContext
LocalFileChangeTracker* change_tracker() { return change_tracker_.get(); }
void SetLocalFileChangeTracker(scoped_ptr<LocalFileChangeTracker> tracker);
+ LocalFileSyncContext* sync_context() { return sync_context_.get(); }
+ void set_sync_context(LocalFileSyncContext* sync_context);
+
const FilePath& partition_path() const { return partition_path_; }
private:
@@ -193,6 +197,7 @@ class FILEAPI_EXPORT FileSystemContext
// For syncable file systems.
scoped_ptr<LocalFileChangeTracker> change_tracker_;
+ scoped_refptr<LocalFileSyncContext> sync_context_;
DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext);
};
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698