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

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

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. 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..078877048e3a864639b7fbca4f144de63b3af492 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
@@ -19,7 +19,6 @@ class IDBDatabase;
class IDBObserverCallback;
class IDBObserverInit;
class IDBTransaction;
-struct WebIDBObservation;
class MODULES_EXPORT IDBObserver final : public GarbageCollected<IDBObserver>,
public ScriptWrappable {
@@ -28,10 +27,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