| Index: third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| index 7f530d73bc2ea9a18158ea616db93b73fac2a7e6..87705d158ab5ef34fef3bb3beaef8bab263c6582 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| @@ -10,12 +10,27 @@ namespace blink {
|
|
|
| // static
|
| std::unique_ptr<WebIDBObserverImpl> WebIDBObserverImpl::create(
|
| - IDBObserver* observer) {
|
| - return wrapUnique(new WebIDBObserverImpl(observer));
|
| + IDBObserver* observer,
|
| + bool transaction,
|
| + bool values,
|
| + bool noRecords,
|
| + const std::bitset<WebIDBOperationTypeCount>& operationTypes) {
|
| + return wrapUnique(new WebIDBObserverImpl(observer, transaction, values,
|
| + noRecords, operationTypes));
|
| }
|
|
|
| -WebIDBObserverImpl::WebIDBObserverImpl(IDBObserver* observer)
|
| - : m_id(kInvalidObserverId), m_observer(observer) {}
|
| +WebIDBObserverImpl::WebIDBObserverImpl(
|
| + IDBObserver* observer,
|
| + bool transaction,
|
| + bool values,
|
| + bool noRecords,
|
| + std::bitset<WebIDBOperationTypeCount>& operationTypes)
|
| + : m_id(kInvalidObserverId),
|
| + m_transaction(transaction),
|
| + m_values(values),
|
| + m_noRecords(noRecords),
|
| + m_operationTypes(operationTypes),
|
| + m_observer(observer) {}
|
|
|
| // Remove observe call id from IDBObserver.
|
| WebIDBObserverImpl::~WebIDBObserverImpl() {
|
|
|