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

Unified Diff: third_party/WebKit/Source/platform/FileSystemType.h

Issue 2438653002: Support serializable DOMFileSystem on the V8-based structured clone path. (Closed)
Patch Set: Created 4 years, 2 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 | « third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/FileSystemType.h
diff --git a/third_party/WebKit/Source/platform/FileSystemType.h b/third_party/WebKit/Source/platform/FileSystemType.h
index 53be5aed65f56e3cd4024d527c2ef8461b221006..6c221a5abbb8cec11928bff0d3387d9a0c3a6f08 100644
--- a/third_party/WebKit/Source/platform/FileSystemType.h
+++ b/third_party/WebKit/Source/platform/FileSystemType.h
@@ -34,6 +34,10 @@
namespace blink {
// For file system types used in FileSystem API.
+//
+// WARNING: These enumerators can be serialized to disk (with IndexedDB).
+// If you have to update this list, also modify deserialization logic to handle
+// the previous version of this enum.
haraken 2016/10/20 14:51:57 Nice catch!
enum FileSystemType {
FileSystemTypeTemporary,
FileSystemTypePersistent,
@@ -43,6 +47,8 @@ enum FileSystemType {
// Non-sandbox filesystem.
FileSystemTypeExternal,
+
+ FileSystemTypeLast = FileSystemTypeExternal,
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698