Index: third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h b/third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h |
index 9fac966e1d4c25f61df9cbe3d2594b66c4649853..2d1edf353a8ca1e02bc64fc6a9fd24c8858fdce2 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h |
@@ -26,22 +26,21 @@ |
#ifndef IDBCursorWithValue_h |
#define IDBCursorWithValue_h |
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h" |
#include "modules/indexeddb/IDBCursor.h" |
#include "modules/indexeddb/IndexedDB.h" |
-#include "public/platform/modules/indexeddb/WebIDBCursor.h" |
-#include "public/platform/modules/indexeddb/WebIDBTypes.h" |
-#include <memory> |
namespace blink { |
class IDBAny; |
+class IDBCursorProxy; |
class IDBRequest; |
class IDBTransaction; |
class IDBCursorWithValue final : public IDBCursor { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static IDBCursorWithValue* create(std::unique_ptr<WebIDBCursor>, WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*); |
+ static IDBCursorWithValue* create(std::unique_ptr<IDBCursorProxy>, indexed_db::mojom::blink::CursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*); |
~IDBCursorWithValue() override; |
// The value attribute defined in the IDL is simply implemented in IDBCursor (but not exposed via |
@@ -51,7 +50,7 @@ public: |
bool isCursorWithValue() const override { return true; } |
private: |
- IDBCursorWithValue(std::unique_ptr<WebIDBCursor>, WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*); |
+ IDBCursorWithValue(std::unique_ptr<IDBCursorProxy>, indexed_db::mojom::blink::CursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*); |
}; |
DEFINE_TYPE_CASTS(IDBCursorWithValue, IDBCursor, cursor, cursor->isCursorWithValue(), cursor.isCursorWithValue()); |