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

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

Issue 2276593002: Support renaming of IndexedDB indexes and object stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test coverage for the (slightly incorrect) behavior in strict mode when our flag is not enabl… Created 4 years, 3 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_fake_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.cc b/content/browser/indexed_db/indexed_db_fake_backing_store.cc
index 2192d77ed14ed91da9379168800ddc64848ef8ed..6490f6bb557f4cf5917823f7458a466af6b9dd23 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.cc
@@ -74,6 +74,14 @@ leveldb::Status IndexedDBFakeBackingStore::DeleteObjectStore(
return leveldb::Status::OK();
}
+leveldb::Status IndexedDBFakeBackingStore::RenameObjectStore(
+ Transaction* transaction,
+ int64_t database_id,
+ int64_t object_store_id,
+ const base::string16& new_name) {
+ return leveldb::Status::OK();
+}
+
leveldb::Status IndexedDBFakeBackingStore::PutRecord(
IndexedDBBackingStore::Transaction* transaction,
int64_t database_id,
@@ -141,6 +149,14 @@ leveldb::Status IndexedDBFakeBackingStore::DeleteIndex(Transaction*,
int64_t index_id) {
return leveldb::Status::OK();
}
+leveldb::Status IndexedDBFakeBackingStore::RenameIndex(
+ Transaction*,
+ int64_t database_id,
+ int64_t object_store_id,
+ int64_t index_id,
+ const base::string16& new_name) {
+ return leveldb::Status::OK();
+}
leveldb::Status IndexedDBFakeBackingStore::PutIndexDataForRecord(
Transaction*,
int64_t database_id,

Powered by Google App Engine
This is Rietveld 408576698