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

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

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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/IDBObserver.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
index 2b61db8ed728e29ce74657abb9379ddafbee6b3a..76846d1f2bbe29e3275c62b93264f0a8c285f711 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
@@ -28,10 +28,7 @@ class MODULES_EXPORT IDBObserver final : public GarbageCollected<IDBObserver>,
public:
static IDBObserver* create(IDBObserverCallback*);
- void removeObserver(int32_t id);
- void onChange(int32_t id,
- const WebVector<WebIDBObservation>&,
- const WebVector<int32_t>& observationIndex);
+ IDBObserverCallback* callback() { return m_callback; }
// Implement the IDBObserver IDL.
void observe(IDBDatabase*,

Powered by Google App Engine
This is Rietveld 408576698