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..edff0da22e0345223759db8bfe8b9fa569594e3a 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h |
@@ -28,20 +28,19 @@ |
#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> |
+#include "public/platform/modules/indexeddb/indexed_db.mojom-blink.h" |
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()); |