Chromium Code Reviews| Index: third_party/WebKit/Source/modules/indexeddb/IDBKey.h |
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBKey.h b/third_party/WebKit/Source/modules/indexeddb/IDBKey.h |
| index 4b9ff354ec8b6fc7d97572886c98e97731d8848e..99e2f640ad24b313e4605152f5236dd004830338 100644 |
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBKey.h |
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBKey.h |
| @@ -63,14 +63,16 @@ class MODULES_EXPORT IDBKey : public GarbageCollectedFinalized<IDBKey> { |
| DECLARE_TRACE(); |
| // In order of the least to the highest precedent in terms of sort order. |
| + // These values are written to logs. New enum values can be added, but |
| + // existing enums must never be renumbered or deleted and reused. |
| enum Type { |
| InvalidType = 0, |
| - ArrayType, |
| - BinaryType, |
| - StringType, |
| - DateType, |
| - NumberType, |
| - MinType |
| + ArrayType = 1, |
| + BinaryType = 2, |
| + StringType = 3, |
| + DateType = 4, |
| + NumberType = 5, |
| + TypeEnumMax = 6, |
|
Mark P
2017/02/07 22:59:46
nit: leave max unassigned; it will default to 6.
|
| }; |
| Type getType() const { return m_type; } |