| 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 int32 /* cursor_id */, | 140 int32 /* cursor_id */, |
| 141 IndexedDBKey /* key */, | 141 IndexedDBKey /* key */, |
| 142 IndexedDBKey /* primary key */, | 142 IndexedDBKey /* primary key */, |
| 143 content::SerializedScriptValue /* script_value */) | 143 content::SerializedScriptValue /* script_value */) |
| 144 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessCursorContinue, | 144 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessCursorContinue, |
| 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_CONTROL5(IndexedDBMsg_CallbacksSuccessCursorPrefetch, |
| 151 int32 /* response_id */, |
| 152 int32 /* cursor_id */, |
| 153 std::vector<IndexedDBKey> /* keys */, |
| 154 std::vector<IndexedDBKey> /* primary keys */, |
| 155 std::vector<content::SerializedScriptValue> /* values */) |
| 150 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase, | 156 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase, |
| 151 int32 /* response_id */, | 157 int32 /* response_id */, |
| 152 int32 /* idb_database_id */) | 158 int32 /* idb_database_id */) |
| 153 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIndexedDBKey, | 159 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIndexedDBKey, |
| 154 int32 /* response_id */, | 160 int32 /* response_id */, |
| 155 IndexedDBKey /* indexed_db_key */) | 161 IndexedDBKey /* indexed_db_key */) |
| 156 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction, | 162 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction, |
| 157 int32 /* response_id */, | 163 int32 /* response_id */, |
| 158 int32 /* idb_transaction_id */) | 164 int32 /* idb_transaction_id */) |
| 159 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, | 165 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 content::SerializedScriptValue, /* value */ | 199 content::SerializedScriptValue, /* value */ |
| 194 WebKit::WebExceptionCode /* ec */) | 200 WebKit::WebExceptionCode /* ec */) |
| 195 | 201 |
| 196 // WebIDBCursor::continue() message. | 202 // WebIDBCursor::continue() message. |
| 197 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorContinue, | 203 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorContinue, |
| 198 int32, /* idb_cursor_id */ | 204 int32, /* idb_cursor_id */ |
| 199 int32, /* response_id */ | 205 int32, /* response_id */ |
| 200 IndexedDBKey, /* key */ | 206 IndexedDBKey, /* key */ |
| 201 WebKit::WebExceptionCode /* ec */) | 207 WebKit::WebExceptionCode /* ec */) |
| 202 | 208 |
| 209 // WebIDBCursor::prefetchContinue() message. |
| 210 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorPrefetch, |
| 211 int32, /* idb_cursor_id */ |
| 212 int32, /* response_id */ |
| 213 int32, /* n */ |
| 214 WebKit::WebExceptionCode /* ec */) |
| 215 |
| 216 // WebIDBCursor::prefetchReset() message. |
| 217 IPC_SYNC_MESSAGE_CONTROL3_0(IndexedDBHostMsg_CursorPrefetchReset, |
| 218 int32, /* idb_cursor_id */ |
| 219 int32, /* used_prefetches */ |
| 220 int32 /* used_prefetches */) |
| 221 |
| 203 // WebIDBCursor::remove() message. | 222 // WebIDBCursor::remove() message. |
| 204 IPC_SYNC_MESSAGE_CONTROL2_1(IndexedDBHostMsg_CursorDelete, | 223 IPC_SYNC_MESSAGE_CONTROL2_1(IndexedDBHostMsg_CursorDelete, |
| 205 int32, /* idb_cursor_id */ | 224 int32, /* idb_cursor_id */ |
| 206 int32, /* response_id */ | 225 int32, /* response_id */ |
| 207 WebKit::WebExceptionCode /* ec */) | 226 WebKit::WebExceptionCode /* ec */) |
| 208 | 227 |
| 209 // WebIDBFactory::getDatabaseNames() message. | 228 // WebIDBFactory::getDatabaseNames() message. |
| 210 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames, | 229 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames, |
| 211 IndexedDBHostMsg_FactoryGetDatabaseNames_Params) | 230 IndexedDBHostMsg_FactoryGetDatabaseNames_Params) |
| 212 | 231 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 439 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
| 421 int32 /* idb_transaction_id */) | 440 int32 /* idb_transaction_id */) |
| 422 | 441 |
| 423 // IDBTransaction::DidCompleteTaskEvents() message. | 442 // IDBTransaction::DidCompleteTaskEvents() message. |
| 424 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 443 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
| 425 int32 /* idb_transaction_id */) | 444 int32 /* idb_transaction_id */) |
| 426 | 445 |
| 427 // WebIDBTransaction::~WebIDBTransaction() message. | 446 // WebIDBTransaction::~WebIDBTransaction() message. |
| 428 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 447 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
| 429 int32 /* idb_transaction_id */) | 448 int32 /* idb_transaction_id */) |
| OLD | NEW |