Index: webkit/fileapi/file_system_types.h |
=================================================================== |
--- webkit/fileapi/file_system_types.h (revision 188767) |
+++ webkit/fileapi/file_system_types.h (working copy) |
@@ -6,6 +6,7 @@ |
#define WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ |
#include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h" |
namespace fileapi { |
@@ -24,6 +25,18 @@ |
// They are sandboxed filesystems; all the files in the filesystems are |
// placed under the profile directory with path obfuscation and quota |
// enforcement. |
+#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE |
+ kFileSystemTypeTemporary = WebKit::WebFileSystemTypeTemporary, |
+ kFileSystemTypePersistent = WebKit::WebFileSystemTypePersistent, |
+ |
+ // Indicates non-sandboxed isolated filesystem. |
+ kFileSystemTypeIsolated = WebKit::WebFileSystemTypeIsolated, |
+ |
+ // Indicates non-sandboxed filesystem where files are placed outside the |
+ // profile directory (thus called 'external' filesystem). |
+ // This filesystem is used only by Chrome OS as of writing. |
+ kFileSystemTypeExternal = WebKit::WebFileSystemTypeExternal, |
+#else |
kFileSystemTypeTemporary = WebKit::WebFileSystem::TypeTemporary, |
kFileSystemTypePersistent = WebKit::WebFileSystem::TypePersistent, |
@@ -34,6 +47,7 @@ |
// profile directory (thus called 'external' filesystem). |
// This filesystem is used only by Chrome OS as of writing. |
kFileSystemTypeExternal = WebKit::WebFileSystem::TypeExternal, |
+#endif |
// ------------------------------------------------------------------------ |
// Private FileSystem types, that should not appear in filesystem: URL as |