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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher.h

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Post dmurph review Created 4 years, 5 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/indexed_db_dispatcher.h
diff --git a/content/child/indexed_db/indexed_db_dispatcher.h b/content/child/indexed_db/indexed_db_dispatcher.h
index bb1d3b6ec224cb6cd134161b3fa985cce599b49e..0b41ed6a651d41c139653cca6b4ee961d26e3af3 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.h
+++ b/content/child/indexed_db/indexed_db_dispatcher.h
@@ -29,6 +29,8 @@
#include "url/origin.h"
struct IndexedDBDatabaseMetadata;
+struct IndexedDBObservation;
+struct IndexedDBObserverChanges;
struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params;
struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params;
struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params;
@@ -257,6 +259,10 @@ class CONTENT_EXPORT IndexedDBDispatcher : public WorkerThread::Observer {
void OnComplete(int32_t ipc_thread_id,
int32_t ipc_database_id,
int64_t transaction_id);
+ void OnDatabaseChange(int32_t ipc_thread_id,
+ int32_t ipc_database_callbacks_id,
+ const IndexedDBObserverChanges&);
+
void OnForcedClose(int32_t ipc_thread_id, int32_t ipc_database_id);
void OnVersionChange(int32_t ipc_thread_id,
int32_t ipc_database_id,

Powered by Google App Engine
This is Rietveld 408576698