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

Unified Diff: content/browser/indexed_db/indexed_db_database_callbacks.h

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Filtering Changes to Observer : Browser End 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/browser/indexed_db/indexed_db_database_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_database_callbacks.h b/content/browser/indexed_db/indexed_db_database_callbacks.h
index 5c8892e5f9b1342cccb7ff3590b13a47cf9e979e..fe9660d901abab1b01fada108cb686ed7d111364 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
@@ -14,6 +14,7 @@
namespace content {
class IndexedDBDatabaseError;
class IndexedDBDispatcherHost;
+struct IndexedDBObserverChanges;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
@@ -28,6 +29,8 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
virtual void OnAbort(int64_t host_transaction_id,
const IndexedDBDatabaseError& error);
virtual void OnComplete(int64_t host_transaction_id);
+ virtual void OnDatabaseChange(
+ std::unique_ptr<IndexedDBObserverChanges> changes);
protected:
virtual ~IndexedDBDatabaseCallbacks();

Powered by Google App Engine
This is Rietveld 408576698