Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_key.h" | 9 #include "content/common/indexed_db_key.h" |
| 10 #include "content/common/indexed_db_param_traits.h" | 10 #include "content/common/indexed_db_param_traits.h" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 140 | 140 |
| 141 // Indexed DB messages sent from the browser to the renderer. | 141 // Indexed DB messages sent from the browser to the renderer. |
| 142 | 142 |
| 143 // IDBCallback message handlers. | 143 // IDBCallback message handlers. |
| 144 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessIDBCursor, | 144 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessIDBCursor, |
| 145 int32 /* response_id */, | 145 int32 /* response_id */, |
| 146 int32 /* cursor_id */, | 146 int32 /* cursor_id */, |
| 147 IndexedDBKey /* key */, | 147 IndexedDBKey /* key */, |
| 148 IndexedDBKey /* primary key */, | 148 IndexedDBKey /* primary key */, |
| 149 content::SerializedScriptValue /* script_value */) | 149 content::SerializedScriptValue /* script_value */) |
| 150 IPC_MESSAGE_CONTROL4(IndexedDBMsg_CallbacksSuccessCursorContinue, | |
|
michaeln
2011/10/30 21:54:06
Would it make sense to have cursor_id as a param h
hans
2011/10/31 16:11:52
Yes. Doing that.
| |
| 151 int32 /* response_id */, | |
| 152 IndexedDBKey /* key */, | |
| 153 IndexedDBKey /* primary key */, | |
| 154 content::SerializedScriptValue /* script_value */) | |
| 150 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase, | 155 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase, |
| 151 int32 /* response_id */, | 156 int32 /* response_id */, |
| 152 int32 /* idb_database_id */) | 157 int32 /* idb_database_id */) |
| 153 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIndexedDBKey, | 158 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIndexedDBKey, |
| 154 int32 /* response_id */, | 159 int32 /* response_id */, |
| 155 IndexedDBKey /* indexed_db_key */) | 160 IndexedDBKey /* indexed_db_key */) |
| 156 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction, | 161 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction, |
| 157 int32 /* response_id */, | 162 int32 /* response_id */, |
| 158 int32 /* idb_transaction_id */) | 163 int32 /* idb_transaction_id */) |
| 159 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, | 164 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 420 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 425 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
| 421 int32 /* idb_transaction_id */) | 426 int32 /* idb_transaction_id */) |
| 422 | 427 |
| 423 // IDBTransaction::DidCompleteTaskEvents() message. | 428 // IDBTransaction::DidCompleteTaskEvents() message. |
| 424 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 429 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
| 425 int32 /* idb_transaction_id */) | 430 int32 /* idb_transaction_id */) |
| 426 | 431 |
| 427 // WebIDBTransaction::~WebIDBTransaction() message. | 432 // WebIDBTransaction::~WebIDBTransaction() message. |
| 428 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 433 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
| 429 int32 /* idb_transaction_id */) | 434 int32 /* idb_transaction_id */) |
| OLD | NEW |