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 |