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

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

Issue 325683002: [IndexedDB] Use consistent enums on both sides of IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Incorporated review comments as build bot was failing with previous patch. Created 6 years, 6 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
« no previous file with comments | « Source/modules/indexeddb/IDBCursor.cpp ('k') | Source/modules/indexeddb/IDBCursorWithValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBCursorWithValue.h
diff --git a/Source/modules/indexeddb/IDBCursorWithValue.h b/Source/modules/indexeddb/IDBCursorWithValue.h
index 6f22a2f2773b8be039406d17497f42885ad5cf41..bf89431a6895c2f015cc76f8b9628ac509806de3 100644
--- a/Source/modules/indexeddb/IDBCursorWithValue.h
+++ b/Source/modules/indexeddb/IDBCursorWithValue.h
@@ -29,6 +29,7 @@
#include "modules/indexeddb/IDBCursor.h"
#include "modules/indexeddb/IndexedDB.h"
#include "public/platform/WebIDBCursor.h"
+#include "public/platform/WebIDBTypes.h"
#include "wtf/PassOwnPtr.h"
namespace WebCore {
@@ -39,7 +40,7 @@ class IDBTransaction;
class IDBCursorWithValue FINAL : public IDBCursor {
public:
- static IDBCursorWithValue* create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursor::Direction, IDBRequest*, IDBAny* source, IDBTransaction*);
+ static IDBCursorWithValue* create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
virtual ~IDBCursorWithValue();
// The value attribute defined in the IDL is simply implemented in IDBCursor (but not exposed via
@@ -49,7 +50,7 @@ public:
virtual bool isCursorWithValue() const OVERRIDE { return true; }
private:
- IDBCursorWithValue(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursor::Direction, IDBRequest*, IDBAny* source, IDBTransaction*);
+ IDBCursorWithValue(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
};
DEFINE_TYPE_CASTS(IDBCursorWithValue, IDBCursor, cursor, cursor->isCursorWithValue(), cursor.isCursorWithValue());
« no previous file with comments | « Source/modules/indexeddb/IDBCursor.cpp ('k') | Source/modules/indexeddb/IDBCursorWithValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698