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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.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
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.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/public/platform/modules/indexeddb/WebIDBMetadata.h
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h
index b7a29df2da66c35b0ed50ccfae50b2c5f1578ac0..4dc59a01a43276c9055053c95d939e60c9d27ed5 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h
@@ -35,22 +35,20 @@ namespace blink {
struct WebIDBMetadata {
enum {
- NoIntVersion = -1
+ NoVersion = -1
};
struct Index;
struct ObjectStore;
WebString name;
- // FIXME: Both version members need to be present while we support both the
- // old setVersion and new upgradeneeded API. Once we no longer support
- // setVersion, WebString version can be removed.
- WebString version;
- long long intVersion;
+ long long version;
long long id;
long long maxObjectStoreId;
WebVector<ObjectStore> objectStores;
WebIDBMetadata()
- : intVersion(NoIntVersion) { }
+ : version(NoVersion)
+ {
+ }
struct ObjectStore {
WebString name;
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698