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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: IDBDatabase weakptr introduced on IDBObserver 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: third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h b/third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h
index 533ba2cec63ae8a7168167ae95200f05b0de5f7d..b010919caf636d7f226a4d19841f39ff98ded6e6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h
@@ -11,10 +11,12 @@ namespace blink {
class ExecutionContext;
class IDBObserver;
+class IDBObserverChanges;
class IDBObserverCallback : public GarbageCollectedFinalized<IDBObserverCallback> {
public:
virtual ~IDBObserverCallback() {}
+ virtual void handleEvent(IDBObserverChanges&, IDBObserver&) = 0;
virtual ExecutionContext* getExecutionContext() const = 0;
DEFINE_INLINE_VIRTUAL_TRACE() {}
};

Powered by Google App Engine
This is Rietveld 408576698