Index: webkit/fileapi/file_system_context.h |
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h |
index e870ed708fd3349bae71504a71d51e1f9ac8e08f..90b80927ff3f596cda76e45ffdd5071fe9eb773d 100644 |
--- a/webkit/fileapi/file_system_context.h |
+++ b/webkit/fileapi/file_system_context.h |
@@ -16,6 +16,7 @@ |
#include "webkit/fileapi/file_system_types.h" |
#include "webkit/fileapi/fileapi_export.h" |
#include "webkit/fileapi/task_runner_bound_observer_list.h" |
+#include "webkit/fileapi/syncable/syncable_context.h" |
#include "webkit/quota/special_storage_policy.h" |
class FilePath; |
@@ -41,6 +42,7 @@ class FileSystemURL; |
class IsolatedMountPointProvider; |
class LocalFileChangeTracker; |
class SandboxMountPointProvider; |
+class SyncableContext; |
tzik
2012/10/11 09:42:53
looks not needed.
kinuko
2012/10/11 10:13:02
Removed the include on line 19
|
struct DefaultContextDeleter; |
@@ -165,6 +167,11 @@ 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) { |
+ syncable_context_ = syncable_context; |
+ } |
+ |
const FilePath& partition_path() const { return partition_path_; } |
private: |
@@ -193,6 +200,7 @@ class FILEAPI_EXPORT FileSystemContext |
// For syncable file systems. |
scoped_ptr<LocalFileChangeTracker> change_tracker_; |
+ scoped_refptr<SyncableContext> syncable_context_; |
DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext); |
}; |