Index: third_party/WebKit/Source/modules/indexeddb/IDBFactory.h |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h |
index 49ca639d54468a84a69a570326844822f03e0d87..945249b571de5e075dd4839b99bee2f17d27b2a5 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h |
@@ -28,6 +28,7 @@ |
#ifndef IDBFactory_h |
#define IDBFactory_h |
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "modules/indexeddb/IDBOpenDBRequest.h" |
#include "platform/heap/Handle.h" |
@@ -38,13 +39,16 @@ namespace blink { |
class ExceptionState; |
class ScriptState; |
-class IDBFactory final : public GarbageCollected<IDBFactory>, public ScriptWrappable { |
+class IDBFactory final : public GarbageCollectedFinalized<IDBFactory>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static IDBFactory* create() |
{ |
return new IDBFactory(); |
} |
+ |
+ virtual ~IDBFactory(); |
+ |
DEFINE_INLINE_VIRTUAL_TRACE() { } |
IDBRequest* getDatabaseNames(ScriptState*, ExceptionState&); |
@@ -59,6 +63,8 @@ private: |
IDBFactory(); |
IDBOpenDBRequest* openInternal(ScriptState*, const String& name, int64_t version, ExceptionState&); |
+ |
+ indexed_db::mojom::blink::DatabaseFactoryPtr m_proxy; |
}; |
} // namespace blink |