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

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

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unobserve functionality Created 4 years, 6 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 f64e616e741c6248ac3876863105ad8aac0c3cca..74fbd956507f239926883aade70b17bf3685587a 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -492,6 +492,11 @@ IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseObserve,
int64_t, /* transaction_id */
int32_t) /* observer_id */
+IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseUnobserve,
+ int32_t, /* ipc_thread_id */
+ int32_t, /* ipc_database_id */
+ std::vector<int32_t>) /* list of observer_id */
+
// WebIDBDatabase::createObjectStore() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore,
IndexedDBHostMsg_DatabaseCreateObjectStore_Params)

Powered by Google App Engine
This is Rietveld 408576698