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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h

Issue 2507233002: Define EnumTraits for many IndexedDB enums. (Closed)
Patch Set: GCC doesn't trust exhaustive switch statements. Created 4 years, 1 month 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/common/indexed_db/indexed_db_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h
index 6d6a00de3b9bf2cd4cbfabbffdfc140596918f9b..76602efd7ec103e9860b62a67833f487225d5426 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h
@@ -55,20 +55,17 @@ enum WebIDBCursorDirection {
WebIDBCursorDirectionNextNoDuplicate = 1,
WebIDBCursorDirectionPrev = 2,
WebIDBCursorDirectionPrevNoDuplicate = 3,
- WebIDBCursorDirectionLast = WebIDBCursorDirectionPrevNoDuplicate
};
enum WebIDBTaskType {
WebIDBTaskTypeNormal = 0,
WebIDBTaskTypePreemptive,
- WebIDBTaskTypeLast = WebIDBTaskTypePreemptive
};
enum WebIDBPutMode {
WebIDBPutModeAddOrUpdate,
WebIDBPutModeAddOnly,
WebIDBPutModeCursorUpdate,
- WebIDBPutModeLast = WebIDBPutModeCursorUpdate
};
enum WebIDBOperationType {
@@ -84,7 +81,6 @@ enum WebIDBTransactionMode {
WebIDBTransactionModeReadOnly = 0,
WebIDBTransactionModeReadWrite,
WebIDBTransactionModeVersionChange,
- WebIDBTransactionModeLast = WebIDBTransactionModeVersionChange
};
} // namespace blink
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698