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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 int32 /* response_id */, | 264 int32 /* response_id */, |
265 int64 /* existing_version */) | 265 int64 /* existing_version */) |
266 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksUpgradeNeeded, | 266 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksUpgradeNeeded, |
267 int32, /* thread_id */ | 267 int32, /* thread_id */ |
268 int32, /* response_id */ | 268 int32, /* response_id */ |
269 int32, /* transaction_id */ | 269 int32, /* transaction_id */ |
270 int32, /* database_id */ | 270 int32, /* database_id */ |
271 int64) /* old_version */ | 271 int64) /* old_version */ |
272 | 272 |
273 // IDBTransactionCallback message handlers. | 273 // IDBTransactionCallback message handlers. |
274 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbort, | 274 // TODO(jsbell): Remove once WK99097 has landed. |
| 275 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbortLegacy, |
275 int32 /* thread_id */, | 276 int32 /* thread_id */, |
276 int32 /* transaction_id */) | 277 int32 /* transaction_id */) |
| 278 IPC_MESSAGE_CONTROL4(IndexedDBMsg_TransactionCallbacksAbort, |
| 279 int32 /* thread_id */, |
| 280 int32 /* transaction_id */, |
| 281 int /* code */, |
| 282 string16 /* message */) |
277 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksComplete, | 283 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksComplete, |
278 int32 /* thread_id */, | 284 int32 /* thread_id */, |
279 int32 /* transaction_id */) | 285 int32 /* transaction_id */) |
280 | 286 |
281 // IDBDatabaseCallback message handlers | 287 // IDBDatabaseCallback message handlers |
282 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose, | 288 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose, |
283 int32, /* thread_id */ | 289 int32, /* thread_id */ |
284 int32) /* database_id */ | 290 int32) /* database_id */ |
285 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange, | 291 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange, |
286 int32, /* thread_id */ | 292 int32, /* thread_id */ |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 546 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
541 int32 /* idb_transaction_id */) | 547 int32 /* idb_transaction_id */) |
542 | 548 |
543 // IDBTransaction::DidCompleteTaskEvents() message. | 549 // IDBTransaction::DidCompleteTaskEvents() message. |
544 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 550 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
545 int32 /* idb_transaction_id */) | 551 int32 /* idb_transaction_id */) |
546 | 552 |
547 // WebIDBTransaction::~WebIDBTransaction() message. | 553 // WebIDBTransaction::~WebIDBTransaction() message. |
548 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 554 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
549 int32 /* idb_transaction_id */) | 555 int32 /* idb_transaction_id */) |
OLD | NEW |