Index: webkit/fileapi/syncable/canned_syncable_file_system.h |
diff --git a/webkit/fileapi/syncable/canned_syncable_file_system.h b/webkit/fileapi/syncable/canned_syncable_file_system.h |
index 10dd4468c0b9019323f98da6e33e077ec5da6d73..9bc421680887da932ca0b27b78fce235b422cf41 100644 |
--- a/webkit/fileapi/syncable/canned_syncable_file_system.h |
+++ b/webkit/fileapi/syncable/canned_syncable_file_system.h |
@@ -61,6 +61,7 @@ class FILEAPI_EXPORT CannedSyncableFileSystem { |
} |
// Helper routines to perform file system operations. |
+ // OpenFileSystem() must have been called before calling any of them. |
// (They run on the current thread and returns synchronously). |
base::PlatformFileError CreateDirectory(const FileSystemURL& url); |
base::PlatformFileError CreateFile(const FileSystemURL& url); |
@@ -89,6 +90,10 @@ class FILEAPI_EXPORT CannedSyncableFileSystem { |
base::PlatformFileError result_; |
SyncStatusCode sync_status_; |
+ // Boolean flags mainly for helping debug. |
+ bool is_filesystem_set_up_; |
+ bool is_filesystem_opened_; |
+ |
base::WeakPtrFactory<CannedSyncableFileSystem> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(CannedSyncableFileSystem); |