Index: webkit/fileapi/file_system_context.h |
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h |
index 03050c182579a388bea12c88824b9d7bdc5b818c..e773806e4d44a15ebe9dfd1c3abcb979a2ce2faf 100644 |
--- a/webkit/fileapi/file_system_context.h |
+++ b/webkit/fileapi/file_system_context.h |
@@ -15,6 +15,7 @@ |
#include "base/memory/scoped_vector.h" |
#include "base/platform_file.h" |
#include "base/sequenced_task_runner_helpers.h" |
+#include "webkit/browser/fileapi/open_file_system_mode.h" |
#include "webkit/browser/fileapi/task_runner_bound_observer_list.h" |
#include "webkit/fileapi/file_system_types.h" |
#include "webkit/fileapi/file_system_url.h" |
@@ -157,18 +158,19 @@ class WEBKIT_STORAGE_EXPORT FileSystemContext |
void OpenFileSystem( |
const GURL& origin_url, |
FileSystemType type, |
- bool create, |
+ OpenFileSystemMode mode, |
const OpenFileSystemCallback& callback); |
// Opens a syncable filesystem for the given |origin_url|. |
// The file system is internally mounted as an external file system at the |
// given |mount_name|. |
// Currently only kFileSystemTypeSyncable type is supported. |
+ // TODO(kinuko): Deprecate this method. (http://crbug.com/177137) |
void OpenSyncableFileSystem( |
const std::string& mount_name, |
const GURL& origin_url, |
FileSystemType type, |
- bool create, |
+ OpenFileSystemMode mode, |
const OpenFileSystemCallback& callback); |
// Deletes the filesystem for the given |origin_url| and |type|. This should |