| Index: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| index 51fe1356a8dceca0a69ea168e254ad28d5dd8355..4527cd374eec1c568f0b88ef48020423be2d2152 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| @@ -42,7 +42,6 @@
|
| #include "modules/indexeddb/IDBTransaction.h"
|
| #include "modules/indexeddb/IndexedDB.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "public/platform/modules/indexeddb/WebIDBDatabase.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
| #include <memory>
|
| @@ -52,6 +51,7 @@ namespace blink {
|
| class DOMException;
|
| class ExceptionState;
|
| class ExecutionContext;
|
| +class IDBDatabaseProxy;
|
|
|
| class MODULES_EXPORT IDBDatabase final
|
| : public EventTargetWithInlineData
|
| @@ -60,7 +60,7 @@ class MODULES_EXPORT IDBDatabase final
|
| USING_GARBAGE_COLLECTED_MIXIN(IDBDatabase);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static IDBDatabase* create(ExecutionContext*, std::unique_ptr<WebIDBDatabase>, IDBDatabaseCallbacks*);
|
| + static IDBDatabase* create(ExecutionContext*, std::unique_ptr<IDBDatabaseProxy>, IDBDatabaseCallbacks*);
|
| ~IDBDatabase() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -112,7 +112,7 @@ public:
|
| }
|
|
|
| // Will return nullptr if this database is stopped.
|
| - WebIDBDatabase* backend() const { return m_backend.get(); }
|
| + IDBDatabaseProxy* backend() const { return m_backend.get(); }
|
|
|
| static int64_t nextTransactionId();
|
|
|
| @@ -139,13 +139,13 @@ protected:
|
| DispatchEventResult dispatchEventInternal(Event*) override;
|
|
|
| private:
|
| - IDBDatabase(ExecutionContext*, std::unique_ptr<WebIDBDatabase>, IDBDatabaseCallbacks*);
|
| + IDBDatabase(ExecutionContext*, std::unique_ptr<IDBDatabaseProxy>, IDBDatabaseCallbacks*);
|
|
|
| IDBObjectStore* createObjectStore(const String& name, const IDBKeyPath&, bool autoIncrement, ExceptionState&);
|
| void closeConnection();
|
|
|
| IDBDatabaseMetadata m_metadata;
|
| - std::unique_ptr<WebIDBDatabase> m_backend;
|
| + std::unique_ptr<IDBDatabaseProxy> m_backend;
|
| Member<IDBTransaction> m_versionChangeTransaction;
|
| HeapHashMap<int64_t, Member<IDBTransaction>> m_transactions;
|
|
|
|
|