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

Unified Diff: Source/modules/indexeddb/IDBRequest.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: 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
Index: Source/modules/indexeddb/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 3ffeedb595b43a42322cb6f459f908992ff04696..714860ecb2012c104e6e683f4e07f7fb0c091161 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -44,6 +44,7 @@
#include "platform/heap/Handle.h"
#include "public/platform/WebBlobInfo.h"
#include "public/platform/WebIDBCursor.h"
+#include "public/platform/WebIDBTypes.h"
namespace WebCore {
@@ -88,7 +89,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(success);
DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
- void setCursorDetails(IndexedDB::CursorType, blink::WebIDBCursor::Direction);
+ void setCursorDetails(IndexedDB::CursorType, blink::Direction);
void setPendingCursor(IDBCursor*);
void abort();
@@ -153,7 +154,7 @@ private:
// Only used if the result type will be a cursor.
IndexedDB::CursorType m_cursorType;
- blink::WebIDBCursor::Direction m_cursorDirection;
+ blink::Direction m_cursorDirection;
// When a cursor is continued/advanced, m_result is cleared and m_pendingCursor holds it.
Member<IDBCursor> m_pendingCursor;
// New state is not applied to the cursor object until the event is dispatched.

Powered by Google App Engine
This is Rietveld 408576698