Index: third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h |
diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h |
index 97c53bb53cd009921f37bd19d5bbe2df43628c6d..087fd2ad9bd997854511f65af58813e9dfe0f39a 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h |
@@ -5,12 +5,14 @@ |
#ifndef WebIDBObserverImpl_h |
#define WebIDBObserverImpl_h |
+#include "modules/indexeddb/IDBObserver.h" |
#include "platform/heap/Persistent.h" |
#include "public/platform/modules/indexeddb/WebIDBObserver.h" |
namespace blink { |
class IDBObserver; |
+struct WebIDBObservation; |
class WebIDBObserverImpl final : public WebIDBObserver { |
USING_FAST_MALLOC(WebIDBObserverImpl); |
@@ -22,6 +24,12 @@ public: |
void setId(int32_t); |
+ bool transaction() { return m_observer->transaction(); } |
+ bool noRecords() { return m_observer->noRecords(); } |
+ bool values() { return m_observer->values(); } |
+ std::bitset<WebIDBOperationTypeCount> operationTypes() { return m_observer->operationTypes(); } |
+ void onChange(const WebVector<WebIDBObservation>&, WebVector<int32_t> observationIndex); |
+ |
private: |
enum { kInvalidObserverId = -1 }; |