| 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_range.h" | 10 #include "content/common/indexed_db/indexed_db_key_range.h" |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // thread on the renderer/client process, an IDB message filter assumes the | 213 // thread on the renderer/client process, an IDB message filter assumes the |
| 214 // thread_id is the first int. | 214 // thread_id is the first int. |
| 215 | 215 |
| 216 // IDBCallback message handlers. | 216 // IDBCallback message handlers. |
| 217 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessIDBCursor, | 217 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessIDBCursor, |
| 218 IndexedDBMsg_CallbacksSuccessIDBCursor_Params) | 218 IndexedDBMsg_CallbacksSuccessIDBCursor_Params) |
| 219 | 219 |
| 220 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorContinue, | 220 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorContinue, |
| 221 IndexedDBMsg_CallbacksSuccessCursorContinue_Params) | 221 IndexedDBMsg_CallbacksSuccessCursorContinue_Params) |
| 222 | 222 |
| 223 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorAdvance, |
| 224 IndexedDBMsg_CallbacksSuccessCursorContinue_Params) |
| 225 |
| 223 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetch, | 226 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetch, |
| 224 IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) | 227 IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) |
| 225 | 228 |
| 226 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIDBDatabase, | 229 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIDBDatabase, |
| 227 int32 /* thread_id */, | 230 int32 /* thread_id */, |
| 228 int32 /* response_id */, | 231 int32 /* response_id */, |
| 229 int32 /* idb_database_id */) | 232 int32 /* idb_database_id */) |
| 230 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIndexedDBKey, | 233 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIndexedDBKey, |
| 231 int32 /* thread_id */, | 234 int32 /* thread_id */, |
| 232 int32 /* response_id */, | 235 int32 /* response_id */, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 int32 /* direction */) | 276 int32 /* direction */) |
| 274 | 277 |
| 275 // WebIDBCursor::update() message. | 278 // WebIDBCursor::update() message. |
| 276 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorUpdate, | 279 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorUpdate, |
| 277 int32, /* idb_cursor_id */ | 280 int32, /* idb_cursor_id */ |
| 278 int32, /* thread_id */ | 281 int32, /* thread_id */ |
| 279 int32, /* response_id */ | 282 int32, /* response_id */ |
| 280 content::SerializedScriptValue, /* value */ | 283 content::SerializedScriptValue, /* value */ |
| 281 WebKit::WebExceptionCode /* ec */) | 284 WebKit::WebExceptionCode /* ec */) |
| 282 | 285 |
| 286 // WebIDBCursor::advance() message. |
| 287 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorAdvance, |
| 288 int32, /* idb_cursor_id */ |
| 289 int32, /* thread_id */ |
| 290 int32, /* response_id */ |
| 291 unsigned long, /* count */ |
| 292 WebKit::WebExceptionCode /* ec */) |
| 293 |
| 283 // WebIDBCursor::continue() message. | 294 // WebIDBCursor::continue() message. |
| 284 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue, | 295 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue, |
| 285 int32, /* idb_cursor_id */ | 296 int32, /* idb_cursor_id */ |
| 286 int32, /* thread_id */ | 297 int32, /* thread_id */ |
| 287 int32, /* response_id */ | 298 int32, /* response_id */ |
| 288 IndexedDBKey, /* key */ | 299 IndexedDBKey, /* key */ |
| 289 WebKit::WebExceptionCode /* ec */) | 300 WebKit::WebExceptionCode /* ec */) |
| 290 | 301 |
| 291 // WebIDBCursor::prefetchContinue() message. | 302 // WebIDBCursor::prefetchContinue() message. |
| 292 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorPrefetch, | 303 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorPrefetch, |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 566 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
| 556 int32 /* idb_transaction_id */) | 567 int32 /* idb_transaction_id */) |
| 557 | 568 |
| 558 // IDBTransaction::DidCompleteTaskEvents() message. | 569 // IDBTransaction::DidCompleteTaskEvents() message. |
| 559 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 570 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
| 560 int32 /* idb_transaction_id */) | 571 int32 /* idb_transaction_id */) |
| 561 | 572 |
| 562 // WebIDBTransaction::~WebIDBTransaction() message. | 573 // WebIDBTransaction::~WebIDBTransaction() message. |
| 563 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 574 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
| 564 int32 /* idb_transaction_id */) | 575 int32 /* idb_transaction_id */) |
| OLD | NEW |