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

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

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.h
diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.h b/content/browser/indexed_db/indexed_db_fake_backing_store.h
index 70be7dc681fc44516018a67426717c939a4ce125..636302419bd4c11feb26f3c07e26fcdbb5837431 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h
@@ -48,6 +48,10 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
leveldb::Status DeleteObjectStore(Transaction* transaction,
int64_t database_id,
int64_t object_store_id) override;
+ leveldb::Status RenameObjectStore(Transaction* transaction,
+ int64_t database_id,
+ int64_t object_store_id,
+ const base::string16& name) override;
leveldb::Status PutRecord(
IndexedDBBackingStore::Transaction* transaction,
@@ -96,6 +100,11 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
int64_t database_id,
int64_t object_store_id,
int64_t index_id) override;
+ leveldb::Status RenameIndex(Transaction*,
+ int64_t database_id,
+ int64_t object_store_id,
+ int64_t index_id,
+ const base::string16& new_name) override;
leveldb::Status PutIndexDataForRecord(Transaction*,
int64_t database_id,
int64_t object_store_id,

Powered by Google App Engine
This is Rietveld 408576698