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

Unified Diff: content/common/indexed_db/indexed_db_messages.h

Issue 2276593002: Support renaming of IndexedDB indexes and object stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Most renaming tests pass. 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/common/indexed_db/indexed_db_messages.h
diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h
index a744f14518bf05fbfba89e0c9b0d6036f6146099..a96269f265337e3354c8b9d7fef41ea237c8b8cb 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -539,6 +539,13 @@ IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore,
int64_t, /* transaction_id */
int64_t) /* object_store_id */
+// WebIDBDatabase::renameObjectStore() message.
+IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseRenameObjectStore,
+ int32_t, /* ipc_database_id */
+ int64_t, /* transaction_id */
+ int64_t, /* object_store_id */
+ base::string16); /* new_name */
+
// WebIDBDatabase::createTransaction() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateTransaction,
IndexedDBHostMsg_DatabaseCreateTransaction_Params)
@@ -613,6 +620,14 @@ IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseDeleteIndex,
int64_t, /* object_store_id */
int64_t) /* index_id */
+// WebIDBDatabase::renameIndex() message.
+IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_DatabaseRenameIndex,
+ int32_t, /* ipc_database_id */
+ int64_t, /* transaction_id */
+ int64_t, /* object_store_id */
+ int64_t, /* index_id */
+ base::string16); /* new_name */
+
// WebIDBDatabase::abort() message.
IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseAbort,
int32_t, /* ipc_database_id */

Powered by Google App Engine
This is Rietveld 408576698