| Index: third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h
|
| diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h
|
| index 8c624983060a7668b9341c9e27e65f8983f37cc2..dd91ff664f4f182c5c328d77445bcba862104465 100644
|
| --- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h
|
| +++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h
|
| @@ -30,9 +30,10 @@
|
| #include "public/platform/WebCommon.h"
|
| #include "public/platform/modules/indexeddb/WebIDBCursor.h"
|
| #include "public/platform/modules/indexeddb/WebIDBMetadata.h"
|
| -#include "public/platform/modules/indexeddb/WebIDBObserver.h"
|
| #include "public/platform/modules/indexeddb/WebIDBTypes.h"
|
|
|
| +#include <bitset>
|
| +
|
| namespace blink {
|
|
|
| class WebData;
|
| @@ -41,7 +42,6 @@ class WebIDBDatabaseCallbacks;
|
| class WebIDBKey;
|
| class WebIDBKeyPath;
|
| class WebIDBKeyRange;
|
| -class WebIDBObserver;
|
|
|
| class WebIDBDatabase {
|
| public:
|
| @@ -85,8 +85,13 @@ class WebIDBDatabase {
|
|
|
| typedef WebVector<WebIDBKey> WebIndexKeys;
|
|
|
| - virtual int32_t addObserver(std::unique_ptr<WebIDBObserver>,
|
| - long long transactionId) = 0;
|
| + virtual void addObserver(
|
| + long long transactionId,
|
| + int32_t observerId,
|
| + bool includeTransaction,
|
| + bool noRecords,
|
| + bool values,
|
| + const std::bitset<WebIDBOperationTypeCount>& operationTypes) = 0;
|
| virtual void removeObservers(
|
| const WebVector<int32_t>& observerIdsToRemove) = 0;
|
| virtual void get(long long transactionId,
|
|
|