| 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 16f38a2743d4e68fa79548aefa0dd05e17e557bb..43e196ed7132b58433a556b75f7c7d07fe3b68cb 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
|
| @@ -6,14 +6,15 @@
|
| #define IDBObserver_h
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| -#include "modules/indexeddb/IDBDatabase.h"
|
| -#include "modules/indexeddb/IDBTransaction.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| +class ExceptionState;
|
| class IDBObserverCallback;
|
| class IDBObserverInit;
|
| +class IDBDatabase;
|
| +class IDBTransaction;
|
|
|
| class IDBObserver final : public GarbageCollectedFinalized<IDBObserver>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -23,11 +24,12 @@ public:
|
| ~IDBObserver();
|
| // API methods
|
| void observe(IDBDatabase*, IDBTransaction*, ExceptionState&);
|
| + void unobserve(IDBDatabase*, ExceptionState&);
|
|
|
| DECLARE_TRACE();
|
|
|
| private:
|
| - explicit IDBObserver(IDBObserverCallback&, const IDBObserverInit&);
|
| + IDBObserver(IDBObserverCallback&, const IDBObserverInit&);
|
|
|
| Member<IDBObserverCallback> m_callback;
|
| bool m_transaction;
|
|
|