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

Unified Diff: content/browser/indexed_db/indexed_db_leveldb_coding.h

Issue 197023009: Add IndexedDBBlobInfo class, to be used for IDB Blob support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make clang happy. Created 6 years, 9 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_leveldb_coding.h
diff --git a/content/browser/indexed_db/indexed_db_leveldb_coding.h b/content/browser/indexed_db/indexed_db_leveldb_coding.h
index f616fb9a6899bc5bf9edd354f6d8fa3a2fde1dfc..a15ce7beff4ba00b40d7787556295aa741fffa00 100644
--- a/content/browser/indexed_db/indexed_db_leveldb_coding.h
+++ b/content/browser/indexed_db/indexed_db_leveldb_coding.h
@@ -229,9 +229,10 @@ class DatabaseMetaDataKey {
MAX_SIMPLE_METADATA_TYPE = 6
};
- static const int64 kAllBlobsKey = 1;
- static const int64 kBlobKeyGeneratorInitialNumber = 2;
- static const int64 kInvalidBlobKey = -1; // All keys <= 0 are invalid.
+ static const int64 kAllBlobsKey;
+ static const int64 kBlobKeyGeneratorInitialNumber;
+ // All keys <= 0 are invalid. This one's just a convenient example.
+ static const int64 kInvalidBlobKey;
static bool IsValidBlobKey(int64 blobKey);
CONTENT_EXPORT static std::string Encode(int64 database_id,
« no previous file with comments | « content/browser/indexed_db/indexed_db_blob_info.cc ('k') | content/browser/indexed_db/indexed_db_leveldb_coding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698