| 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 b265a1f4ba255993372d21739d800e1ca2a86919..a84428db47a6ea8a99bd564d51578a4348a82089 100644
|
| --- a/content/common/indexed_db/indexed_db_messages.h
|
| +++ b/content/common/indexed_db/indexed_db_messages.h
|
| @@ -42,6 +42,8 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
|
| IPC_STRUCT_MEMBER(string16, origin)
|
| // The name of the database.
|
| IPC_STRUCT_MEMBER(string16, name)
|
| + // The requested version of the database.
|
| + IPC_STRUCT_MEMBER(int64, version)
|
| IPC_STRUCT_END()
|
|
|
| // Used to delete an indexed database.
|
| @@ -245,6 +247,16 @@ IPC_MESSAGE_CONTROL4(IndexedDBMsg_CallbacksError,
|
| IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksBlocked,
|
| int32 /* thread_id */,
|
| int32 /* response_id */)
|
| +IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksIntBlocked,
|
| + int32 /* thread_id */,
|
| + int32 /* response_id */,
|
| + int64 /* existing_version */)
|
| +IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksUpgradeNeeded,
|
| + int32, /* thread_id */
|
| + int32, /* response_id */
|
| + int32, /* transaction_id */
|
| + int32, /* database_id */
|
| + int64) /* old_version */
|
|
|
| // IDBTransactionCallback message handlers.
|
| IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbort,
|
| @@ -259,6 +271,12 @@ IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange,
|
| int32, /* database_id */
|
| string16) /* new_version */
|
|
|
| +IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange,
|
| + int32, /* thread_id */
|
| + int32, /* database_id */
|
| + int64, /* old_version */
|
| + int64) /* new_version */
|
| +
|
| // Indexed DB messages sent from the renderer to the browser.
|
|
|
| // WebIDBCursor::update() message.
|
|
|