Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| index 0f9321270f3112e145da3b937d1e758061476d72..b77e276341af2948eaf5941d1e6b701d9cf82d99 100644 |
| --- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| +++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| @@ -7,11 +7,23 @@ |
| #ifndef WebIDBObserver_h |
| #define WebIDBObserver_h |
| +#include "public/platform/WebVector.h" |
| +#include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| +#include <bitset> |
| + |
| namespace blink { |
| +struct WebIDBObservation; |
| + |
| class WebIDBObserver { |
| public: |
| virtual ~WebIDBObserver() {} |
| + |
| + virtual bool transaction() const = 0; |
| + virtual bool noRecords() const = 0; |
| + virtual bool values() const = 0; |
| + virtual const std::bitset<WebIDBOperationTypeCount>& operationTypes() const = 0; |
| + virtual void onChange(const WebVector<WebIDBObservation>&, WebVector<int32_t> observationIndex) = 0; |
|
chrishtr
2016/07/20 19:51:05
Should the second argument be a const reference?
palakj1
2016/07/20 21:41:47
sorry. changed
|
| }; |
| } // namespace blink |