Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursorWithValue.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698