Chromium Code Reviews| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 280 IPC_STRUCT_MEMBER(int64, max_object_store_id) | 280 IPC_STRUCT_MEMBER(int64, max_object_store_id) |
| 281 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) | 281 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) |
| 282 IPC_STRUCT_END() | 282 IPC_STRUCT_END() |
| 283 | 283 |
| 284 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksUpgradeNeeded_Params) | 284 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksUpgradeNeeded_Params) |
| 285 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 285 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 286 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) | 286 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) |
| 287 IPC_STRUCT_MEMBER(int32, ipc_database_callbacks_id) | 287 IPC_STRUCT_MEMBER(int32, ipc_database_callbacks_id) |
| 288 IPC_STRUCT_MEMBER(int32, ipc_database_id) | 288 IPC_STRUCT_MEMBER(int32, ipc_database_id) |
| 289 IPC_STRUCT_MEMBER(int64, old_version) | 289 IPC_STRUCT_MEMBER(int64, old_version) |
| 290 IPC_STRUCT_MEMBER(int32, data_loss) | |
|
aedla
2013/06/19 10:56:51
Could this be sent as WebKit::WebIDBCallbacks::Dat
| |
| 290 IPC_STRUCT_MEMBER(IndexedDBDatabaseMetadata, idb_metadata) | 291 IPC_STRUCT_MEMBER(IndexedDBDatabaseMetadata, idb_metadata) |
| 291 IPC_STRUCT_END() | 292 IPC_STRUCT_END() |
| 292 | 293 |
| 293 // Indexed DB messages sent from the browser to the renderer. | 294 // Indexed DB messages sent from the browser to the renderer. |
| 294 | 295 |
| 295 // The thread_id needs to be the first parameter in these messages. In the IO | 296 // The thread_id needs to be the first parameter in these messages. In the IO |
| 296 // thread on the renderer/client process, an IDB message filter assumes the | 297 // thread on the renderer/client process, an IDB message filter assumes the |
| 297 // thread_id is the first int. | 298 // thread_id is the first int. |
| 298 | 299 |
| 299 // IDBCallback message handlers. | 300 // IDBCallback message handlers. |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 495 | 496 |
| 496 // WebIDBDatabase::commit() message. | 497 // WebIDBDatabase::commit() message. |
| 497 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 498 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
| 498 int32, /* ipc_database_id */ | 499 int32, /* ipc_database_id */ |
| 499 int64) /* transaction_id */ | 500 int64) /* transaction_id */ |
| 500 | 501 |
| 501 // WebIDBDatabase::~WebIDBCursor() message. | 502 // WebIDBDatabase::~WebIDBCursor() message. |
| 502 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 503 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
| 503 int32 /* ipc_cursor_id */) | 504 int32 /* ipc_cursor_id */) |
| 504 | 505 |
| OLD | NEW |