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

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: Minor bugs fixed 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..0ee97afccf61c7e16b59a7be917baff24148830a 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;
+class IndexedDBObserverChanges;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
@@ -28,6 +29,9 @@ 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(
+ int32_t ipc_database_id,
+ std::unique_ptr<IndexedDBObserverChanges> changes);
protected:
virtual ~IndexedDBDatabaseCallbacks();

Powered by Google App Engine
This is Rietveld 408576698