Index: third_party/WebKit/Source/modules/indexeddb/IDBIndex.h |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h |
index 0854b459811418398273fd2bf8a62795eaf72784..82de0392f3d4aab23cb050ff6d5f7e7060970f7a 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h |
@@ -26,21 +26,20 @@ |
#ifndef IDBIndex_h |
#define IDBIndex_h |
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "modules/indexeddb/IDBCursor.h" |
#include "modules/indexeddb/IDBKeyPath.h" |
#include "modules/indexeddb/IDBKeyRange.h" |
#include "modules/indexeddb/IDBMetadata.h" |
#include "modules/indexeddb/IDBRequest.h" |
-#include "public/platform/modules/indexeddb/WebIDBCursor.h" |
-#include "public/platform/modules/indexeddb/WebIDBDatabase.h" |
-#include "public/platform/modules/indexeddb/WebIDBTypes.h" |
#include "wtf/Forward.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
class ExceptionState; |
+class IDBDatabaseProxy; |
class IDBObjectStore; |
class IDBIndex final : public GarbageCollectedFinalized<IDBIndex>, public ScriptWrappable { |
@@ -74,9 +73,9 @@ public: |
bool isDeleted() const; |
// Used internally and by InspectorIndexedDBAgent: |
- IDBRequest* openCursor(ScriptState*, IDBKeyRange*, WebIDBCursorDirection); |
+ IDBRequest* openCursor(ScriptState*, IDBKeyRange*, indexed_db::mojom::blink::CursorDirection); |
- WebIDBDatabase* backendDB() const; |
+ IDBDatabaseProxy* backendDB() const; |
private: |
IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*); |