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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h

Issue 1706413002: Indexed DB: Rename "int version" to "version" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 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
Index: third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
index 09cf49ead6aba2a9ef90b36fc59a23ece44f5c36..e293d3ac55b2edd84e169144f52439e1c1b129aa 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
@@ -83,21 +83,21 @@ struct IDBDatabaseMetadata {
DISALLOW_NEW();
// FIXME: These can probably be collapsed into 0.
enum {
- NoIntVersion = -1,
- DefaultIntVersion = 0
+ NoVersion = -1,
+ DefaultVersion = 0
};
typedef HashMap<int64_t, IDBObjectStoreMetadata> ObjectStoreMap;
IDBDatabaseMetadata()
- : intVersion(NoIntVersion)
+ : version(NoVersion)
{
}
- IDBDatabaseMetadata(const String& name, int64_t id, int64_t intVersion, int64_t maxObjectStoreId)
+ IDBDatabaseMetadata(const String& name, int64_t id, int64_t version, int64_t maxObjectStoreId)
: name(name)
, id(id)
- , intVersion(intVersion)
+ , version(version)
, maxObjectStoreId(maxObjectStoreId)
{
}
@@ -106,7 +106,7 @@ struct IDBDatabaseMetadata {
String name;
int64_t id;
- int64_t intVersion;
+ int64_t version;
int64_t maxObjectStoreId;
ObjectStoreMap objectStores;

Powered by Google App Engine
This is Rietveld 408576698