Index: public/platform/WebIDBTypes.h |
diff --git a/public/platform/WebIDBTypes.h b/public/platform/WebIDBTypes.h |
index 7f8f7b12f1da809fbac5c4361c9479e4361a5974..6d889be95bec3dffdd9e838ed67d44c27c5502a5 100644 |
--- a/public/platform/WebIDBTypes.h |
+++ b/public/platform/WebIDBTypes.h |
@@ -50,6 +50,33 @@ enum WebIDBDataLoss { |
WebIDBDataLossTotal, |
}; |
+enum Direction { |
jsbell
2014/06/09 16:27:09
Since this is only scoped to the blink:: namespace
Pritam Nikam
2014/06/11 14:07:47
Done.
|
+ Next = 0, |
+ NextNoDuplicate = 1, |
+ Prev = 2, |
+ PrevNoDuplicate = 3, |
+ DirectionLast = PrevNoDuplicate |
+}; |
+ |
+enum TaskType { |
jsbell
2014/06/09 16:27:09
enum WebIDBTaskType { WebIDBTaskTypeNormal, ... }
Pritam Nikam
2014/06/11 14:07:47
Done.
|
+ NormalTask = 0, |
+ PreemptiveTask, |
+ TaskTypeLast = PreemptiveTask |
+}; |
+ |
+enum PutMode { |
jsbell
2014/06/09 16:27:09
enum WebIDBPutMode { WebIDBPutModeAddOrUpdate, ...
Pritam Nikam
2014/06/11 14:07:47
Done.
|
+ AddOrUpdate, |
+ AddOnly, |
+ CursorUpdate, |
+ PutModeLast = CursorUpdate |
+}; |
+ |
+enum TransactionMode { |
jsbell
2014/06/09 16:27:09
enum WebIDBTransactionMode { WebIDBTransactionMode
Pritam Nikam
2014/06/11 14:07:47
Done.
|
+ TransactionReadOnly = 0, |
+ TransactionReadWrite, |
+ TransactionVersionChange, |
+}; |
+ |
} // namespace blink |
#endif // WebIDBTypes_h |