| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "content/common/indexed_db/indexed_db_key.h" | 9 #include "content/common/indexed_db/indexed_db_key.h" |
| 10 #include "content/common/indexed_db/indexed_db_key_path.h" | 10 #include "content/common/indexed_db/indexed_db_key_path.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 IPC_ENUM_TRAITS(WebKit::WebIDBCursor::Direction) | 23 IPC_ENUM_TRAITS(WebKit::WebIDBCursor::Direction) |
| 24 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::PutMode) | 24 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::PutMode) |
| 25 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::TaskType) | 25 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::TaskType) |
| 26 | 26 |
| 27 // Used to enumerate indexed databases. | 27 // Used to enumerate indexed databases. |
| 28 IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params) | 28 IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params) |
| 29 // The response should have these ids. | 29 // The response should have these ids. |
| 30 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 30 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 31 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) | 31 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) |
| 32 // The origin doing the initiating. | 32 // The string id of the origin doing the initiating. |
| 33 IPC_STRUCT_MEMBER(string16, origin) | 33 IPC_STRUCT_MEMBER(string16, database_identifier) |
| 34 IPC_STRUCT_END() | 34 IPC_STRUCT_END() |
| 35 | 35 |
| 36 // Used to open an indexed database. | 36 // Used to open an indexed database. |
| 37 IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params) | 37 IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params) |
| 38 // The response should have these ids. | 38 // The response should have these ids. |
| 39 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 39 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 40 // Identifier of the request | 40 // Identifier of the request |
| 41 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) | 41 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) |
| 42 // Identifier for database callbacks | 42 // Identifier for database callbacks |
| 43 IPC_STRUCT_MEMBER(int32, ipc_database_callbacks_id) | 43 IPC_STRUCT_MEMBER(int32, ipc_database_callbacks_id) |
| 44 // The origin doing the initiating. | 44 // The string id of the origin doing the initiating. |
| 45 IPC_STRUCT_MEMBER(string16, origin) | 45 IPC_STRUCT_MEMBER(string16, database_identifier) |
| 46 // The name of the database. | 46 // The name of the database. |
| 47 IPC_STRUCT_MEMBER(string16, name) | 47 IPC_STRUCT_MEMBER(string16, name) |
| 48 // The transaction id used if a database upgrade is needed. | 48 // The transaction id used if a database upgrade is needed. |
| 49 IPC_STRUCT_MEMBER(int64, transaction_id) | 49 IPC_STRUCT_MEMBER(int64, transaction_id) |
| 50 // The requested version of the database. | 50 // The requested version of the database. |
| 51 IPC_STRUCT_MEMBER(int64, version) | 51 IPC_STRUCT_MEMBER(int64, version) |
| 52 IPC_STRUCT_END() | 52 IPC_STRUCT_END() |
| 53 | 53 |
| 54 // Used to delete an indexed database. | 54 // Used to delete an indexed database. |
| 55 IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDeleteDatabase_Params) | 55 IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDeleteDatabase_Params) |
| 56 // The response should have these ids. | 56 // The response should have these ids. |
| 57 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 57 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 58 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) | 58 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) |
| 59 // The origin doing the initiating. | 59 // The string id of the origin doing the initiating. |
| 60 IPC_STRUCT_MEMBER(string16, origin) | 60 IPC_STRUCT_MEMBER(string16, database_identifier) |
| 61 // The name of the database. | 61 // The name of the database. |
| 62 IPC_STRUCT_MEMBER(string16, name) | 62 IPC_STRUCT_MEMBER(string16, name) |
| 63 IPC_STRUCT_END() | 63 IPC_STRUCT_END() |
| 64 | 64 |
| 65 IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseCreateTransaction_Params) | 65 IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseCreateTransaction_Params) |
| 66 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 66 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 67 // The database the object store belongs to. | 67 // The database the object store belongs to. |
| 68 IPC_STRUCT_MEMBER(int32, ipc_database_id) | 68 IPC_STRUCT_MEMBER(int32, ipc_database_id) |
| 69 // The transaction id as minted by the frontend. | 69 // The transaction id as minted by the frontend. |
| 70 IPC_STRUCT_MEMBER(int64, transaction_id) | 70 IPC_STRUCT_MEMBER(int64, transaction_id) |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 501 |
| 502 // WebIDBDatabase::commit() message. | 502 // WebIDBDatabase::commit() message. |
| 503 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 503 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
| 504 int32, /* ipc_database_id */ | 504 int32, /* ipc_database_id */ |
| 505 int64) /* transaction_id */ | 505 int64) /* transaction_id */ |
| 506 | 506 |
| 507 // WebIDBDatabase::~WebIDBCursor() message. | 507 // WebIDBDatabase::~WebIDBCursor() message. |
| 508 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 508 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
| 509 int32 /* ipc_cursor_id */) | 509 int32 /* ipc_cursor_id */) |
| 510 | 510 |
| OLD | NEW |