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

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 #2 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
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..e748f888a3f4581646afd936599130c895dfa9f5 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 SyncableContext;
struct DefaultContextDeleter;
@@ -165,6 +166,9 @@ class FILEAPI_EXPORT FileSystemContext
LocalFileChangeTracker* change_tracker() { return change_tracker_.get(); }
void SetLocalFileChangeTracker(scoped_ptr<LocalFileChangeTracker> tracker);
+ SyncableContext* syncable_context() { return syncable_context_.get(); }
+ void set_syncable_context(SyncableContext* syncable_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<SyncableContext> syncable_context_;
DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext);
};

Powered by Google App Engine
This is Rietveld 408576698