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

Unified Diff: content/browser/indexed_db/leveldb_coding_scheme.md

Issue 2773823002: Use a two-part data format version in IndexedDB metadata. (Closed)
Patch Set: rename blink constants Created 3 years, 8 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/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/leveldb_coding_scheme.md
diff --git a/content/browser/indexed_db/leveldb_coding_scheme.md b/content/browser/indexed_db/leveldb_coding_scheme.md
index f5674161d7178f63265bc6dd4b7f5fc57dce7877..1a449d3b399d795012151b618eb4d2ab5ccc2451 100644
--- a/content/browser/indexed_db/leveldb_coding_scheme.md
+++ b/content/browser/indexed_db/leveldb_coding_scheme.md
@@ -150,7 +150,7 @@ key | value
------------------------------------|------
«0, 0, 0, 0» | backing store schema version (Int) [`SchemaVersionKey`]
«0, 0, 0, 1» | maximum allocated database (Int) [`MaxDatabaseIdKey`]
-«0, 0, 0, 2» | SerializedScriptValue version (Int) [`DataVersionKey`]
+«0, 0, 0, 2» | data format version (Int) [`DataVersionKey`]
«0, 0, 0, 3» | primary BlobJournal [`BlobJournalKey`]
«0, 0, 0, 4» | live BlobJournal [`LiveBlobJournalKey`]
«0, 0, 0, 100, database id (VarInt)» | Existence implies the database id is in the free list [`DatabaseFreeListKey`] - _obsolete_
@@ -161,6 +161,10 @@ Free lists (#100) are no longer used. The ID space is assumed to be
sufficient.
***
+The data format version encodes a `content::IndexedDBDataFormatVersion` object.
+It includes a 32-bit version for the V8 serialization code in its most
+significant bits, and a 32-bit version for the Blink serialization code in its
+least significant 32 bits.
## Database metadata
[`DatabaseMetaDataKey`]
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698