| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // The database the object store belongs to. | 66 // The database the object store belongs to. |
| 67 IPC_STRUCT_MEMBER(int32, idb_database_id) | 67 IPC_STRUCT_MEMBER(int32, idb_database_id) |
| 68 IPC_STRUCT_END() | 68 IPC_STRUCT_END() |
| 69 | 69 |
| 70 // Used to open both cursors and object cursors in IndexedDB. | 70 // Used to open both cursors and object cursors in IndexedDB. |
| 71 IPC_STRUCT_BEGIN(IndexedDBHostMsg_IndexOpenCursor_Params) | 71 IPC_STRUCT_BEGIN(IndexedDBHostMsg_IndexOpenCursor_Params) |
| 72 // The response should have these ids. | 72 // The response should have these ids. |
| 73 IPC_STRUCT_MEMBER(int32, thread_id) | 73 IPC_STRUCT_MEMBER(int32, thread_id) |
| 74 IPC_STRUCT_MEMBER(int32, response_id) | 74 IPC_STRUCT_MEMBER(int32, response_id) |
| 75 // The serialized key range. | 75 // The serialized key range. |
| 76 IPC_STRUCT_MEMBER(IndexedDBKeyRange, key_range) | 76 IPC_STRUCT_MEMBER(content::IndexedDBKeyRange, key_range) |
| 77 // The direction of this cursor. | 77 // The direction of this cursor. |
| 78 IPC_STRUCT_MEMBER(int32, direction) | 78 IPC_STRUCT_MEMBER(int32, direction) |
| 79 // The index the index belongs to. | 79 // The index the index belongs to. |
| 80 IPC_STRUCT_MEMBER(int32, idb_index_id) | 80 IPC_STRUCT_MEMBER(int32, idb_index_id) |
| 81 // The transaction this request belongs to. | 81 // The transaction this request belongs to. |
| 82 IPC_STRUCT_MEMBER(int, transaction_id) | 82 IPC_STRUCT_MEMBER(int, transaction_id) |
| 83 IPC_STRUCT_END() | 83 IPC_STRUCT_END() |
| 84 | 84 |
| 85 // Used for counting values within an index IndexedDB. | 85 // Used for counting values within an index IndexedDB. |
| 86 IPC_STRUCT_BEGIN(IndexedDBHostMsg_IndexCount_Params) | 86 IPC_STRUCT_BEGIN(IndexedDBHostMsg_IndexCount_Params) |
| 87 // The response should have these ids. | 87 // The response should have these ids. |
| 88 IPC_STRUCT_MEMBER(int32, thread_id) | 88 IPC_STRUCT_MEMBER(int32, thread_id) |
| 89 IPC_STRUCT_MEMBER(int32, response_id) | 89 IPC_STRUCT_MEMBER(int32, response_id) |
| 90 // The serialized key range. | 90 // The serialized key range. |
| 91 IPC_STRUCT_MEMBER(IndexedDBKeyRange, key_range) | 91 IPC_STRUCT_MEMBER(content::IndexedDBKeyRange, key_range) |
| 92 // The index the index belongs to. | 92 // The index the index belongs to. |
| 93 IPC_STRUCT_MEMBER(int32, idb_index_id) | 93 IPC_STRUCT_MEMBER(int32, idb_index_id) |
| 94 // The transaction this request belongs to. | 94 // The transaction this request belongs to. |
| 95 IPC_STRUCT_MEMBER(int, transaction_id) | 95 IPC_STRUCT_MEMBER(int, transaction_id) |
| 96 IPC_STRUCT_END() | 96 IPC_STRUCT_END() |
| 97 | 97 |
| 98 // Used to set a value in an object store. | 98 // Used to set a value in an object store. |
| 99 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStorePut_Params) | 99 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStorePut_Params) |
| 100 // The object store's id. | 100 // The object store's id. |
| 101 IPC_STRUCT_MEMBER(int32, idb_object_store_id) | 101 IPC_STRUCT_MEMBER(int32, idb_object_store_id) |
| 102 // The id any response should contain. | 102 // The id any response should contain. |
| 103 IPC_STRUCT_MEMBER(int32, thread_id) | 103 IPC_STRUCT_MEMBER(int32, thread_id) |
| 104 IPC_STRUCT_MEMBER(int32, response_id) | 104 IPC_STRUCT_MEMBER(int32, response_id) |
| 105 // The value to set. | 105 // The value to set. |
| 106 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) | 106 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) |
| 107 // The key to set it on (may not be "valid"/set in some cases). | 107 // The key to set it on (may not be "valid"/set in some cases). |
| 108 IPC_STRUCT_MEMBER(IndexedDBKey, key) | 108 IPC_STRUCT_MEMBER(content::IndexedDBKey, key) |
| 109 // Whether this is an add or a put. | 109 // Whether this is an add or a put. |
| 110 IPC_STRUCT_MEMBER(WebKit::WebIDBObjectStore::PutMode, put_mode) | 110 IPC_STRUCT_MEMBER(WebKit::WebIDBObjectStore::PutMode, put_mode) |
| 111 // The transaction it's associated with. | 111 // The transaction it's associated with. |
| 112 IPC_STRUCT_MEMBER(int, transaction_id) | 112 IPC_STRUCT_MEMBER(int, transaction_id) |
| 113 IPC_STRUCT_END() | 113 IPC_STRUCT_END() |
| 114 | 114 |
| 115 // Used to create an index. | 115 // Used to create an index. |
| 116 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params) | 116 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params) |
| 117 // The name of the index. | 117 // The name of the index. |
| 118 IPC_STRUCT_MEMBER(string16, name) | 118 IPC_STRUCT_MEMBER(string16, name) |
| 119 // The keyPath of the index. | 119 // The keyPath of the index. |
| 120 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, key_path) | 120 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, key_path) |
| 121 // Whether the index created has unique keys. | 121 // Whether the index created has unique keys. |
| 122 IPC_STRUCT_MEMBER(bool, unique) | 122 IPC_STRUCT_MEMBER(bool, unique) |
| 123 // Whether the index created produces keys for each array entry. | 123 // Whether the index created produces keys for each array entry. |
| 124 IPC_STRUCT_MEMBER(bool, multi_entry) | 124 IPC_STRUCT_MEMBER(bool, multi_entry) |
| 125 // The transaction this is associated with. | 125 // The transaction this is associated with. |
| 126 IPC_STRUCT_MEMBER(int32, transaction_id) | 126 IPC_STRUCT_MEMBER(int32, transaction_id) |
| 127 // The object store the index belongs to. | 127 // The object store the index belongs to. |
| 128 IPC_STRUCT_MEMBER(int32, idb_object_store_id) | 128 IPC_STRUCT_MEMBER(int32, idb_object_store_id) |
| 129 IPC_STRUCT_END() | 129 IPC_STRUCT_END() |
| 130 | 130 |
| 131 // Used to open an IndexedDB cursor. | 131 // Used to open an IndexedDB cursor. |
| 132 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreOpenCursor_Params) | 132 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreOpenCursor_Params) |
| 133 // The response should have these ids. | 133 // The response should have these ids. |
| 134 IPC_STRUCT_MEMBER(int32, thread_id) | 134 IPC_STRUCT_MEMBER(int32, thread_id) |
| 135 IPC_STRUCT_MEMBER(int32, response_id) | 135 IPC_STRUCT_MEMBER(int32, response_id) |
| 136 // The serialized key range. | 136 // The serialized key range. |
| 137 IPC_STRUCT_MEMBER(IndexedDBKeyRange, key_range) | 137 IPC_STRUCT_MEMBER(content::IndexedDBKeyRange, key_range) |
| 138 // The direction of this cursor. | 138 // The direction of this cursor. |
| 139 IPC_STRUCT_MEMBER(int32, direction) | 139 IPC_STRUCT_MEMBER(int32, direction) |
| 140 // The object store the cursor belongs to. | 140 // The object store the cursor belongs to. |
| 141 IPC_STRUCT_MEMBER(int32, idb_object_store_id) | 141 IPC_STRUCT_MEMBER(int32, idb_object_store_id) |
| 142 // The transaction this request belongs to. | 142 // The transaction this request belongs to. |
| 143 IPC_STRUCT_MEMBER(int, transaction_id) | 143 IPC_STRUCT_MEMBER(int, transaction_id) |
| 144 IPC_STRUCT_END() | 144 IPC_STRUCT_END() |
| 145 | 145 |
| 146 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessIDBCursor_Params) | 146 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessIDBCursor_Params) |
| 147 IPC_STRUCT_MEMBER(int32, thread_id) | 147 IPC_STRUCT_MEMBER(int32, thread_id) |
| 148 IPC_STRUCT_MEMBER(int32, response_id) | 148 IPC_STRUCT_MEMBER(int32, response_id) |
| 149 IPC_STRUCT_MEMBER(int32, cursor_id) | 149 IPC_STRUCT_MEMBER(int32, cursor_id) |
| 150 IPC_STRUCT_MEMBER(IndexedDBKey, key) | 150 IPC_STRUCT_MEMBER(content::IndexedDBKey, key) |
| 151 IPC_STRUCT_MEMBER(IndexedDBKey, primary_key) | 151 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key) |
| 152 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) | 152 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) |
| 153 IPC_STRUCT_END() | 153 IPC_STRUCT_END() |
| 154 | 154 |
| 155 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinue_Params) | 155 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinue_Params) |
| 156 IPC_STRUCT_MEMBER(int32, thread_id) | 156 IPC_STRUCT_MEMBER(int32, thread_id) |
| 157 IPC_STRUCT_MEMBER(int32, response_id) | 157 IPC_STRUCT_MEMBER(int32, response_id) |
| 158 IPC_STRUCT_MEMBER(int32, cursor_id) | 158 IPC_STRUCT_MEMBER(int32, cursor_id) |
| 159 IPC_STRUCT_MEMBER(IndexedDBKey, key) | 159 IPC_STRUCT_MEMBER(content::IndexedDBKey, key) |
| 160 IPC_STRUCT_MEMBER(IndexedDBKey, primary_key) | 160 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key) |
| 161 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) | 161 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) |
| 162 IPC_STRUCT_END() | 162 IPC_STRUCT_END() |
| 163 | 163 |
| 164 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) | 164 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) |
| 165 IPC_STRUCT_MEMBER(int32, thread_id) | 165 IPC_STRUCT_MEMBER(int32, thread_id) |
| 166 IPC_STRUCT_MEMBER(int32, response_id) | 166 IPC_STRUCT_MEMBER(int32, response_id) |
| 167 IPC_STRUCT_MEMBER(int32, cursor_id) | 167 IPC_STRUCT_MEMBER(int32, cursor_id) |
| 168 IPC_STRUCT_MEMBER(std::vector<IndexedDBKey>, keys) | 168 IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, keys) |
| 169 IPC_STRUCT_MEMBER(std::vector<IndexedDBKey>, primary_keys) | 169 IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, primary_keys) |
| 170 IPC_STRUCT_MEMBER(std::vector<content::SerializedScriptValue>, values) | 170 IPC_STRUCT_MEMBER(std::vector<content::SerializedScriptValue>, values) |
| 171 IPC_STRUCT_END() | 171 IPC_STRUCT_END() |
| 172 | 172 |
| 173 | 173 |
| 174 // Used to count within an IndexedDB object store. | 174 // Used to count within an IndexedDB object store. |
| 175 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCount_Params) | 175 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCount_Params) |
| 176 // The response should have these ids. | 176 // The response should have these ids. |
| 177 IPC_STRUCT_MEMBER(int32, thread_id) | 177 IPC_STRUCT_MEMBER(int32, thread_id) |
| 178 IPC_STRUCT_MEMBER(int32, response_id) | 178 IPC_STRUCT_MEMBER(int32, response_id) |
| 179 // The serialized key range. | 179 // The serialized key range. |
| 180 IPC_STRUCT_MEMBER(IndexedDBKeyRange, key_range) | 180 IPC_STRUCT_MEMBER(content::IndexedDBKeyRange, key_range) |
| 181 // The object store the cursor belongs to. | 181 // The object store the cursor belongs to. |
| 182 IPC_STRUCT_MEMBER(int32, idb_object_store_id) | 182 IPC_STRUCT_MEMBER(int32, idb_object_store_id) |
| 183 // The transaction this request belongs to. | 183 // The transaction this request belongs to. |
| 184 IPC_STRUCT_MEMBER(int, transaction_id) | 184 IPC_STRUCT_MEMBER(int, transaction_id) |
| 185 IPC_STRUCT_END() | 185 IPC_STRUCT_END() |
| 186 | 186 |
| 187 // Indexed DB messages sent from the browser to the renderer. | 187 // Indexed DB messages sent from the browser to the renderer. |
| 188 | 188 |
| 189 // The thread_id needs to be the first parameter in these messages. In the IO | 189 // The thread_id needs to be the first parameter in these messages. In the IO |
| 190 // thread on the renderer/client process, an IDB message filter assumes the | 190 // thread on the renderer/client process, an IDB message filter assumes the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 203 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetch, | 203 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetch, |
| 204 IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) | 204 IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) |
| 205 | 205 |
| 206 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIDBDatabase, | 206 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIDBDatabase, |
| 207 int32 /* thread_id */, | 207 int32 /* thread_id */, |
| 208 int32 /* response_id */, | 208 int32 /* response_id */, |
| 209 int32 /* idb_database_id */) | 209 int32 /* idb_database_id */) |
| 210 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIndexedDBKey, | 210 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIndexedDBKey, |
| 211 int32 /* thread_id */, | 211 int32 /* thread_id */, |
| 212 int32 /* response_id */, | 212 int32 /* response_id */, |
| 213 IndexedDBKey /* indexed_db_key */) | 213 content::IndexedDBKey /* indexed_db_key */) |
| 214 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIDBTransaction, | 214 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIDBTransaction, |
| 215 int32 /* thread_id */, | 215 int32 /* thread_id */, |
| 216 int32 /* response_id */, | 216 int32 /* response_id */, |
| 217 int32 /* idb_transaction_id */) | 217 int32 /* idb_transaction_id */) |
| 218 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, | 218 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, |
| 219 int32 /* thread_id */, | 219 int32 /* thread_id */, |
| 220 int32 /* response_id */, | 220 int32 /* response_id */, |
| 221 content::SerializedScriptValue /* value */) | 221 content::SerializedScriptValue /* value */) |
| 222 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessStringList, | 222 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessStringList, |
| 223 int32 /* thread_id */, | 223 int32 /* thread_id */, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 int32, /* thread_id */ | 266 int32, /* thread_id */ |
| 267 int32, /* response_id */ | 267 int32, /* response_id */ |
| 268 unsigned long, /* count */ | 268 unsigned long, /* count */ |
| 269 WebKit::WebExceptionCode /* ec */) | 269 WebKit::WebExceptionCode /* ec */) |
| 270 | 270 |
| 271 // WebIDBCursor::continue() message. | 271 // WebIDBCursor::continue() message. |
| 272 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue, | 272 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue, |
| 273 int32, /* idb_cursor_id */ | 273 int32, /* idb_cursor_id */ |
| 274 int32, /* thread_id */ | 274 int32, /* thread_id */ |
| 275 int32, /* response_id */ | 275 int32, /* response_id */ |
| 276 IndexedDBKey, /* key */ | 276 content::IndexedDBKey, /* key */ |
| 277 WebKit::WebExceptionCode /* ec */) | 277 WebKit::WebExceptionCode /* ec */) |
| 278 | 278 |
| 279 // WebIDBCursor::prefetchContinue() message. | 279 // WebIDBCursor::prefetchContinue() message. |
| 280 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorPrefetch, | 280 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorPrefetch, |
| 281 int32, /* idb_cursor_id */ | 281 int32, /* idb_cursor_id */ |
| 282 int32, /* thread_id */ | 282 int32, /* thread_id */ |
| 283 int32, /* response_id */ | 283 int32, /* response_id */ |
| 284 int32, /* n */ | 284 int32, /* n */ |
| 285 WebKit::WebExceptionCode /* ec */) | 285 WebKit::WebExceptionCode /* ec */) |
| 286 | 286 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 // WebIDBIndex::count() message. | 410 // WebIDBIndex::count() message. |
| 411 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexCount, | 411 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexCount, |
| 412 IndexedDBHostMsg_IndexCount_Params, | 412 IndexedDBHostMsg_IndexCount_Params, |
| 413 WebKit::WebExceptionCode /* ec */) | 413 WebKit::WebExceptionCode /* ec */) |
| 414 | 414 |
| 415 // WebIDBIndex::getObject() message. | 415 // WebIDBIndex::getObject() message. |
| 416 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetObject, | 416 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetObject, |
| 417 int32, /* idb_index_id */ | 417 int32, /* idb_index_id */ |
| 418 int32, /* thread_id */ | 418 int32, /* thread_id */ |
| 419 int32, /* response_id */ | 419 int32, /* response_id */ |
| 420 IndexedDBKeyRange, /* key */ | 420 content::IndexedDBKeyRange, /* key */ |
| 421 int32, /* transaction_id */ | 421 int32, /* transaction_id */ |
| 422 WebKit::WebExceptionCode /* ec */) | 422 WebKit::WebExceptionCode /* ec */) |
| 423 | 423 |
| 424 // WebIDBIndex::getKey() message. | 424 // WebIDBIndex::getKey() message. |
| 425 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKey, | 425 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKey, |
| 426 int32, /* idb_index_id */ | 426 int32, /* idb_index_id */ |
| 427 int32, /* thread_id */ | 427 int32, /* thread_id */ |
| 428 int32, /* response_id */ | 428 int32, /* response_id */ |
| 429 IndexedDBKeyRange, /* key */ | 429 content::IndexedDBKeyRange, /* key */ |
| 430 int32, /* transaction_id */ | 430 int32, /* transaction_id */ |
| 431 WebKit::WebExceptionCode /* ec */) | 431 WebKit::WebExceptionCode /* ec */) |
| 432 | 432 |
| 433 // WebIDBIndex::~WebIDBIndex() message. | 433 // WebIDBIndex::~WebIDBIndex() message. |
| 434 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed, | 434 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed, |
| 435 int32 /* idb_index_id */) | 435 int32 /* idb_index_id */) |
| 436 | 436 |
| 437 // WebIDBObjectStore::name() message. | 437 // WebIDBObjectStore::name() message. |
| 438 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName, | 438 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName, |
| 439 int32, /* idb_object_store_id */ | 439 int32, /* idb_object_store_id */ |
| 440 string16 /* name */) | 440 string16 /* name */) |
| 441 | 441 |
| 442 // WebIDBObjectStore::keyPath() message. | 442 // WebIDBObjectStore::keyPath() message. |
| 443 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath, | 443 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath, |
| 444 int32, /* idb_object_store_id */ | 444 int32, /* idb_object_store_id */ |
| 445 content::IndexedDBKeyPath /* keyPath */) | 445 content::IndexedDBKeyPath /* keyPath */) |
| 446 | 446 |
| 447 // WebIDBObjectStore::indexNames() message. | 447 // WebIDBObjectStore::indexNames() message. |
| 448 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames, | 448 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames, |
| 449 int32, /* idb_object_store_id */ | 449 int32, /* idb_object_store_id */ |
| 450 std::vector<string16> /* index_names */) | 450 std::vector<string16> /* index_names */) |
| 451 | 451 |
| 452 // WebIDBObjectStore::get() message. | 452 // WebIDBObjectStore::get() message. |
| 453 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet, | 453 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet, |
| 454 int32, /* idb_object_store_id */ | 454 int32, /* idb_object_store_id */ |
| 455 int32, /* thread_id */ | 455 int32, /* thread_id */ |
| 456 int32, /* response_id */ | 456 int32, /* response_id */ |
| 457 IndexedDBKeyRange, /* key_range */ | 457 content::IndexedDBKeyRange, /* key_range */ |
| 458 int32, /* transaction_id */ | 458 int32, /* transaction_id */ |
| 459 WebKit::WebExceptionCode /* ec */) | 459 WebKit::WebExceptionCode /* ec */) |
| 460 | 460 |
| 461 // WebIDBObjectStore::put() message. | 461 // WebIDBObjectStore::put() message. |
| 462 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut, | 462 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut, |
| 463 IndexedDBHostMsg_ObjectStorePut_Params, | 463 IndexedDBHostMsg_ObjectStorePut_Params, |
| 464 WebKit::WebExceptionCode /* ec */) | 464 WebKit::WebExceptionCode /* ec */) |
| 465 | 465 |
| 466 // WebIDBObjectStore::delete(key) message. | 466 // WebIDBObjectStore::delete(key) message. |
| 467 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete, | 467 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete, |
| 468 int32, /* idb_object_store_id */ | 468 int32, /* idb_object_store_id */ |
| 469 int32, /* thread_id */ | 469 int32, /* thread_id */ |
| 470 int32, /* response_id */ | 470 int32, /* response_id */ |
| 471 IndexedDBKey, /* key */ | 471 content::IndexedDBKey, /* key */ |
| 472 int32, /* transaction_id */ | 472 int32, /* transaction_id */ |
| 473 WebKit::WebExceptionCode /* ec */) | 473 WebKit::WebExceptionCode /* ec */) |
| 474 | 474 |
| 475 // WebIDBObjectStore::delete(keyRange) message. | 475 // WebIDBObjectStore::delete(keyRange) message. |
| 476 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDeleteRange, | 476 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDeleteRange, |
| 477 int32, /* idb_object_store_id */ | 477 int32, /* idb_object_store_id */ |
| 478 int32, /* thread_id */ | 478 int32, /* thread_id */ |
| 479 int32, /* response_id */ | 479 int32, /* response_id */ |
| 480 IndexedDBKeyRange, /* key_range */ | 480 content::IndexedDBKeyRange, /* key_range */ |
| 481 int32, /* transaction_id */ | 481 int32, /* transaction_id */ |
| 482 WebKit::WebExceptionCode /* ec */) | 482 WebKit::WebExceptionCode /* ec */) |
| 483 | 483 |
| 484 // WebIDBObjectStore::clear() message. | 484 // WebIDBObjectStore::clear() message. |
| 485 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_ObjectStoreClear, | 485 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_ObjectStoreClear, |
| 486 int32, /* idb_object_store_id */ | 486 int32, /* idb_object_store_id */ |
| 487 int32, /* thread_id */ | 487 int32, /* thread_id */ |
| 488 int32, /* response_id */ | 488 int32, /* response_id */ |
| 489 int32, /* transaction_id */ | 489 int32, /* transaction_id */ |
| 490 WebKit::WebExceptionCode /* ec */) | 490 WebKit::WebExceptionCode /* ec */) |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 543 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
| 544 int32 /* idb_transaction_id */) | 544 int32 /* idb_transaction_id */) |
| 545 | 545 |
| 546 // IDBTransaction::DidCompleteTaskEvents() message. | 546 // IDBTransaction::DidCompleteTaskEvents() message. |
| 547 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 547 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
| 548 int32 /* idb_transaction_id */) | 548 int32 /* idb_transaction_id */) |
| 549 | 549 |
| 550 // WebIDBTransaction::~WebIDBTransaction() message. | 550 // WebIDBTransaction::~WebIDBTransaction() message. |
| 551 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 551 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
| 552 int32 /* idb_transaction_id */) | 552 int32 /* idb_transaction_id */) |
| OLD | NEW |