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

Unified Diff: webkit/fileapi/file_system_types.h

Issue 12886018: Add support for WEBKIT_USE_NEW_WEBFILESYSTEMTYPE (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 9 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
« no previous file with comments | « content/worker/websharedworkerclient_proxy.cc ('k') | webkit/fileapi/file_system_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/worker/websharedworkerclient_proxy.cc ('k') | webkit/fileapi/file_system_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698