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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.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_dispatcher_host.h
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h
index 8f3bda65718b5d983abe6026afd170f236c50333..204a033b5387b7d19dc54ca97676005eca1f84ec 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -171,6 +171,10 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void OnDeleteObjectStore(int32_t ipc_database_id,
int64_t transaction_id,
int64_t object_store_id);
+ void OnRenameObjectStore(int32_t ipc_database_id,
+ int64_t transaction_id,
+ int64_t object_store_id,
+ const base::string16& new_name);
void OnCreateTransaction(
const IndexedDBHostMsg_DatabaseCreateTransaction_Params&);
void OnClose(int32_t ipc_database_id);
@@ -209,6 +213,11 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
int64_t transaction_id,
int64_t object_store_id,
int64_t index_id);
+ void OnRenameIndex(int32_t ipc_database_id,
+ int64_t transaction_id,
+ int64_t object_store_id,
+ int64_t index_id,
+ const base::string16& new_name);
void OnAbort(int32_t ipc_database_id, int64_t transaction_id);
void OnCommit(int32_t ipc_database_id, int64_t transaction_id);

Powered by Google App Engine
This is Rietveld 408576698