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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 int64) /* old_version */ | 265 int64) /* old_version */ |
266 | 266 |
267 // IDBTransactionCallback message handlers. | 267 // IDBTransactionCallback message handlers. |
268 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbort, | 268 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbort, |
269 int32 /* thread_id */, | 269 int32 /* thread_id */, |
270 int32 /* transaction_id */) | 270 int32 /* transaction_id */) |
271 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksComplete, | 271 IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksComplete, |
272 int32 /* thread_id */, | 272 int32 /* thread_id */, |
273 int32 /* transaction_id */) | 273 int32 /* transaction_id */) |
274 | 274 |
| 275 // IDBDatabaseCallback message handlers |
| 276 IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose, |
| 277 int32, /* thread_id */ |
| 278 int32) /* database_id */ |
275 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange, | 279 IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange, |
276 int32, /* thread_id */ | 280 int32, /* thread_id */ |
277 int32, /* database_id */ | 281 int32, /* database_id */ |
278 string16) /* new_version */ | 282 string16) /* new_version */ |
279 | 283 |
280 IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange, | 284 IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange, |
281 int32, /* thread_id */ | 285 int32, /* thread_id */ |
282 int32, /* database_id */ | 286 int32, /* database_id */ |
283 int64, /* old_version */ | 287 int64, /* old_version */ |
284 int64) /* new_version */ | 288 int64) /* new_version */ |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 549 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
546 int32 /* idb_transaction_id */) | 550 int32 /* idb_transaction_id */) |
547 | 551 |
548 // IDBTransaction::DidCompleteTaskEvents() message. | 552 // IDBTransaction::DidCompleteTaskEvents() message. |
549 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 553 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
550 int32 /* idb_transaction_id */) | 554 int32 /* idb_transaction_id */) |
551 | 555 |
552 // WebIDBTransaction::~WebIDBTransaction() message. | 556 // WebIDBTransaction::~WebIDBTransaction() message. |
553 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 557 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
554 int32 /* idb_transaction_id */) | 558 int32 /* idb_transaction_id */) |
OLD | NEW |