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

Unified Diff: public/platform/WebIDBTypes.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 | « public/platform/WebIDBDatabase.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebIDBTypes.h
diff --git a/public/platform/WebIDBTypes.h b/public/platform/WebIDBTypes.h
index 7f8f7b12f1da809fbac5c4361c9479e4361a5974..06837b0d66b4ec91e9485117b51bd7c98e561ab3 100644
--- a/public/platform/WebIDBTypes.h
+++ b/public/platform/WebIDBTypes.h
@@ -50,6 +50,34 @@ enum WebIDBDataLoss {
WebIDBDataLossTotal,
};
+enum WebIDBCursorDirection {
+ WebIDBCursorDirectionNext = 0,
+ WebIDBCursorDirectionNextNoDuplicate = 1,
+ WebIDBCursorDirectionPrev = 2,
+ WebIDBCursorDirectionPrevNoDuplicate = 3,
+ WebIDBCursorDirectionLast = WebIDBCursorDirectionPrevNoDuplicate
+};
+
+enum WebIDBTaskType {
+ WebIDBTaskTypeNormal = 0,
+ WebIDBTaskTypePreemptive,
+ WebIDBTaskTypeLast = WebIDBTaskTypePreemptive
+};
+
+enum WebIDBPutMode {
+ WebIDBPutModeAddOrUpdate,
+ WebIDBPutModeAddOnly,
+ WebIDBPutModeCursorUpdate,
+ WebIDBPutModeLast = WebIDBPutModeCursorUpdate
+};
+
+enum WebIDBTransactionMode {
+ WebIDBTransactionModeReadOnly = 0,
+ WebIDBTransactionModeReadWrite,
+ WebIDBTransactionModeVersionChange,
+ WebIDBTransactionModeLast = WebIDBTransactionModeVersionChange
+};
+
} // namespace blink
#endif // WebIDBTypes_h
« no previous file with comments | « public/platform/WebIDBDatabase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698