| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 string16) /* new_version */ | 272 string16) /* new_version */ |
| 273 | 273 |
| 274 IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange, | 274 IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange, |
| 275 int32, /* thread_id */ | 275 int32, /* thread_id */ |
| 276 int32, /* database_id */ | 276 int32, /* database_id */ |
| 277 int64, /* old_version */ | 277 int64, /* old_version */ |
| 278 int64) /* new_version */ | 278 int64) /* new_version */ |
| 279 | 279 |
| 280 // Indexed DB messages sent from the renderer to the browser. | 280 // Indexed DB messages sent from the renderer to the browser. |
| 281 | 281 |
| 282 // WebIDBCursor::update() message. | |
| 283 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorUpdate, | |
| 284 int32, /* idb_cursor_id */ | |
| 285 int32, /* thread_id */ | |
| 286 int32, /* response_id */ | |
| 287 content::SerializedScriptValue, /* value */ | |
| 288 WebKit::WebExceptionCode /* ec */) | |
| 289 | |
| 290 // WebIDBCursor::advance() message. | 282 // WebIDBCursor::advance() message. |
| 291 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorAdvance, | 283 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorAdvance, |
| 292 int32, /* idb_cursor_id */ | 284 int32, /* idb_cursor_id */ |
| 293 int32, /* thread_id */ | 285 int32, /* thread_id */ |
| 294 int32, /* response_id */ | 286 int32, /* response_id */ |
| 295 unsigned long, /* count */ | 287 unsigned long, /* count */ |
| 296 WebKit::WebExceptionCode /* ec */) | 288 WebKit::WebExceptionCode /* ec */) |
| 297 | 289 |
| 298 // WebIDBCursor::continue() message. | 290 // WebIDBCursor::continue() message. |
| 299 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue, | 291 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue, |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 509 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
| 518 int32 /* idb_cursor_id */) | 510 int32 /* idb_cursor_id */) |
| 519 | 511 |
| 520 // IDBTransaction::ObjectStore message. | 512 // IDBTransaction::ObjectStore message. |
| 521 IPC_SYNC_MESSAGE_CONTROL2_2(IndexedDBHostMsg_TransactionObjectStore, | 513 IPC_SYNC_MESSAGE_CONTROL2_2(IndexedDBHostMsg_TransactionObjectStore, |
| 522 int32, /* transaction_id */ | 514 int32, /* transaction_id */ |
| 523 string16, /* name */ | 515 string16, /* name */ |
| 524 int32, /* object_store_id */ | 516 int32, /* object_store_id */ |
| 525 WebKit::WebExceptionCode /* ec */) | 517 WebKit::WebExceptionCode /* ec */) |
| 526 | 518 |
| 527 // WebIDBTransaction::mode() message. | |
| 528 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_TransactionMode, | |
| 529 int32, /* idb_transaction_id */ | |
| 530 int /* mode */) | |
| 531 | |
| 532 // WebIDBTransaction::commit() message. | 519 // WebIDBTransaction::commit() message. |
| 533 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionCommit, | 520 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionCommit, |
| 534 int32 /* idb_transaction_id */) | 521 int32 /* idb_transaction_id */) |
| 535 | 522 |
| 536 // WebIDBTransaction::abort() message. | 523 // WebIDBTransaction::abort() message. |
| 537 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 524 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
| 538 int32 /* idb_transaction_id */) | 525 int32 /* idb_transaction_id */) |
| 539 | 526 |
| 540 // IDBTransaction::DidCompleteTaskEvents() message. | 527 // IDBTransaction::DidCompleteTaskEvents() message. |
| 541 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 528 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
| 542 int32 /* idb_transaction_id */) | 529 int32 /* idb_transaction_id */) |
| 543 | 530 |
| 544 // WebIDBTransaction::~WebIDBTransaction() message. | 531 // WebIDBTransaction::~WebIDBTransaction() message. |
| 545 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 532 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
| 546 int32 /* idb_transaction_id */) | 533 int32 /* idb_transaction_id */) |
| OLD | NEW |