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

Unified Diff: content/browser/indexed_db/indexed_db_metadata.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: content/browser/indexed_db/indexed_db_metadata.h
diff --git a/content/browser/indexed_db/indexed_db_metadata.h b/content/browser/indexed_db/indexed_db_metadata.h
index 55547099f609b5335626e86dc985434c3bb2ba3d..ec9d9acbcb8b2a54381a1081118befff5acfe162 100644
--- a/content/browser/indexed_db/indexed_db_metadata.h
+++ b/content/browser/indexed_db/indexed_db_metadata.h
@@ -61,17 +61,14 @@ struct CONTENT_EXPORT IndexedDBObjectStoreMetadata {
struct CONTENT_EXPORT IndexedDBDatabaseMetadata {
// TODO(jsbell): These can probably be collapsed into 0.
- enum {
- NO_INT_VERSION = -1,
- DEFAULT_INT_VERSION = 0
- };
+ enum { NO_VERSION = -1, DEFAULT_VERSION = 0 };
typedef std::map<int64_t, IndexedDBObjectStoreMetadata> ObjectStoreMap;
IndexedDBDatabaseMetadata();
IndexedDBDatabaseMetadata(const base::string16& name,
int64_t id,
- int64_t int_version,
+ int64_t version,
int64_t max_object_store_id);
IndexedDBDatabaseMetadata(const IndexedDBDatabaseMetadata& other);
~IndexedDBDatabaseMetadata();
@@ -79,7 +76,7 @@ struct CONTENT_EXPORT IndexedDBDatabaseMetadata {
base::string16 name;
int64_t id;
- int64_t int_version;
+ int64_t version;
int64_t max_object_store_id;
ObjectStoreMap object_stores;
« no previous file with comments | « content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc ('k') | content/browser/indexed_db/indexed_db_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698