// Argument structures used in messages
-IPC_ENUM_TRAITS(blink::WebIDBCursor::Direction)
-IPC_ENUM_TRAITS(blink::WebIDBDatabase::PutMode)
-IPC_ENUM_TRAITS(blink::WebIDBDatabase::TaskType)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBCursor::Direction,
+ blink::WebIDBCursor::DirectionLast)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBDatabase::PutMode,
+ blink::WebIDBDatabase::PutModeLast)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBDatabase::TaskType,
+ blink::WebIDBDatabase::TaskTypeLast)
+IPC_ENUM_TRAITS(blink::WebIDBDatabase::TransactionMode)
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBDataLoss, blink::WebIDBDataLossTotal)
// The scope of the transaction.
IPC_STRUCT_MEMBER(std::vector<int64>, object_store_ids)
// The transaction mode.
- IPC_STRUCT_MEMBER(int32, mode)
+ IPC_STRUCT_MEMBER(blink::WebIDBDatabase::TransactionMode, mode)
IPC_STRUCT_END()
// Used to create an object store.
// The serialized key range.
IPC_STRUCT_MEMBER(content::IndexedDBKeyRange, key_range)
// The direction of this cursor.
- IPC_STRUCT_MEMBER(int32, direction)
+ IPC_STRUCT_MEMBER(blink::WebIDBCursor::Direction, direction)
// If this is just retrieving the key
IPC_STRUCT_MEMBER(bool, key_only)
// The priority of this cursor.