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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.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 tests for create rename in the same aborted transaction. 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/child/indexed_db/webidbdatabase_impl.h
diff --git a/content/child/indexed_db/webidbdatabase_impl.h b/content/child/indexed_db/webidbdatabase_impl.h
index 85710030a8b3778bfbbafed2e865ee2a97b61ab6..5f51df20dd2413ed21ae530fff9a6cd37da23d5f 100644
--- a/content/child/indexed_db/webidbdatabase_impl.h
+++ b/content/child/indexed_db/webidbdatabase_impl.h
@@ -40,6 +40,9 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
bool auto_increment) override;
void deleteObjectStore(long long transaction_id,
long long object_store_id) override;
+ void renameObjectStore(long long transaction_id,
+ long long object_store_id,
+ const blink::WebString& new_name) override;
void createTransaction(long long transaction_id,
blink::WebIDBDatabaseCallbacks* callbacks,
const blink::WebVector<long long>& scope,
@@ -113,6 +116,10 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
void deleteIndex(long long transactionId,
long long objectStoreId,
long long indexId) override;
+ void renameIndex(long long transactionId,
+ long long objectStoreId,
+ long long indexId,
+ const blink::WebString& new_name) override;
void abort(long long transaction_id) override;
void commit(long long transaction_id) override;
void ackReceivedBlobs(

Powered by Google App Engine
This is Rietveld 408576698