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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 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_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc
index 754c95eb955c690618b3d96bdad048b956cea3da..1a7c4d8b96f60afad90b1e9d5e2a5a4aaa8cf141 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc
@@ -1506,7 +1506,7 @@ static bool CheckObjectStoreAndMetaDataType(const LevelDBIterator* it,
// plowing ahead when bad data is encountered.
leveldb::Status IndexedDBBackingStore::GetObjectStores(
int64_t database_id,
- IndexedDBDatabaseMetadata::ObjectStoreMap* object_stores) {
+ std::map<int64_t, IndexedDBObjectStoreMetadata>* object_stores) {
IDB_TRACE("IndexedDBBackingStore::GetObjectStores");
if (!KeyPrefix::IsValidDatabaseId(database_id))
return InvalidDBKeyStatus();
@@ -2558,7 +2558,7 @@ static bool CheckIndexAndMetaDataKey(const LevelDBIterator* it,
leveldb::Status IndexedDBBackingStore::GetIndexes(
int64_t database_id,
int64_t object_store_id,
- IndexedDBObjectStoreMetadata::IndexMap* indexes) {
+ std::map<int64_t, IndexedDBIndexMetadata>* indexes) {
IDB_TRACE("IndexedDBBackingStore::GetIndexes");
if (!KeyPrefix::ValidIds(database_id, object_store_id))
return InvalidDBKeyStatus();

Powered by Google App Engine
This is Rietveld 408576698