| Index: content/common/indexed_db/indexed_db_messages.h
|
| diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h
|
| index ac3fa2bcac98515715105ef910fde834953d81ed..1107c3fdcc88fe73a2545060d95520284a26ea28 100644
|
| --- a/content/common/indexed_db/indexed_db_messages.h
|
| +++ b/content/common/indexed_db/indexed_db_messages.h
|
| @@ -22,13 +22,10 @@
|
|
|
| // Argument structures used in messages
|
|
|
| -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::Direction, blink::DirectionLast)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(blink::PutMode, blink::PutModeLast)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(blink::TaskType, blink::TaskTypeLast)
|
| +IPC_ENUM_TRAITS(blink::TransactionMode)
|
|
|
| IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBDataLoss, blink::WebIDBDataLossTotal)
|
|
|
| @@ -84,7 +81,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseCreateTransaction_Params)
|
| // The scope of the transaction.
|
| IPC_STRUCT_MEMBER(std::vector<int64>, object_store_ids)
|
| // The transaction mode.
|
| - IPC_STRUCT_MEMBER(blink::WebIDBDatabase::TransactionMode, mode)
|
| + IPC_STRUCT_MEMBER(blink::TransactionMode, mode)
|
| IPC_STRUCT_END()
|
|
|
| // Used to create an object store.
|
| @@ -149,7 +146,7 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabasePut_Params)
|
| // The key to set it on (may not be "valid"/set in some cases).
|
| IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
|
| // Whether this is an add or a put.
|
| - IPC_STRUCT_MEMBER(blink::WebIDBDatabase::PutMode, put_mode)
|
| + IPC_STRUCT_MEMBER(blink::PutMode, put_mode)
|
| // The index ids and the list of keys for each index.
|
| IPC_STRUCT_MEMBER(std::vector<IndexKeys>, index_keys)
|
| // Sideband data for any blob or file encoded in value.
|
| @@ -172,11 +169,11 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseOpenCursor_Params)
|
| // The serialized key range.
|
| IPC_STRUCT_MEMBER(content::IndexedDBKeyRange, key_range)
|
| // The direction of this cursor.
|
| - IPC_STRUCT_MEMBER(blink::WebIDBCursor::Direction, direction)
|
| + IPC_STRUCT_MEMBER(blink::Direction, direction)
|
| // If this is just retrieving the key
|
| IPC_STRUCT_MEMBER(bool, key_only)
|
| // The priority of this cursor.
|
| - IPC_STRUCT_MEMBER(blink::WebIDBDatabase::TaskType, task_type)
|
| + IPC_STRUCT_MEMBER(blink::TaskType, task_type)
|
| IPC_STRUCT_END()
|
|
|
| // Used to open both cursors and object cursors in IndexedDB.
|
|
|