| 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..d8227974585904c9004dad145a2ff43cca6b9272 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
|
| @@ -31,6 +31,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "modules/indexeddb/IDBOpenDBRequest.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "public/platform/modules/indexeddb/indexed_db.mojom-blink.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
| @@ -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_backend;
|
| };
|
|
|
| } // namespace blink
|
|
|