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 <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "content/common/indexed_db/indexed_db_key.h" | 10 #include "content/common/indexed_db/indexed_db_key.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 // Sideband data for any blob or file encoded in value. | 264 // Sideband data for any blob or file encoded in value. |
| 265 IPC_STRUCT_MEMBER(std::vector<IndexedDBMsg_BlobOrFileInfo>, blob_or_file_info) | 265 IPC_STRUCT_MEMBER(std::vector<IndexedDBMsg_BlobOrFileInfo>, blob_or_file_info) |
| 266 IPC_STRUCT_END() | 266 IPC_STRUCT_END() |
| 267 | 267 |
| 268 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) | 268 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params) |
| 269 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 269 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 270 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) | 270 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) |
| 271 IPC_STRUCT_MEMBER(int32, ipc_cursor_id) | 271 IPC_STRUCT_MEMBER(int32, ipc_cursor_id) |
| 272 IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, keys) | 272 IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, keys) |
| 273 IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, primary_keys) | 273 IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, primary_keys) |
| 274 // TODO(ericu): Put each value/vector<blob_info> together in a wrapper object, | |
|
jsbell
2014/04/17 22:05:56
We'd want to tackle all 4 vectors, not just value/
ericu
2014/04/17 22:08:08
Oh right--of course.
| |
| 275 // so we don't have to check that we've got same-length arrays of each. | |
| 274 IPC_STRUCT_MEMBER(std::vector<std::string>, values) | 276 IPC_STRUCT_MEMBER(std::vector<std::string>, values) |
| 275 // Sideband data for any blob or file encoded in value. | 277 // Sideband data for any blob or file encoded in value. |
| 276 IPC_STRUCT_MEMBER(std::vector<std::vector<IndexedDBMsg_BlobOrFileInfo> >, | 278 IPC_STRUCT_MEMBER(std::vector<std::vector<IndexedDBMsg_BlobOrFileInfo> >, |
| 277 blob_or_file_infos) | 279 blob_or_file_infos) |
| 278 IPC_STRUCT_END() | 280 IPC_STRUCT_END() |
| 279 | 281 |
| 280 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessValue_Params) | 282 IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessValue_Params) |
| 281 IPC_STRUCT_MEMBER(int32, ipc_thread_id) | 283 IPC_STRUCT_MEMBER(int32, ipc_thread_id) |
| 282 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) | 284 IPC_STRUCT_MEMBER(int32, ipc_callbacks_id) |
| 283 IPC_STRUCT_MEMBER(std::string, value) | 285 IPC_STRUCT_MEMBER(std::string, value) |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 537 int64) /* transaction_id */ | 539 int64) /* transaction_id */ |
| 538 | 540 |
| 539 // WebIDBDatabase::commit() message. | 541 // WebIDBDatabase::commit() message. |
| 540 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 542 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
| 541 int32, /* ipc_database_id */ | 543 int32, /* ipc_database_id */ |
| 542 int64) /* transaction_id */ | 544 int64) /* transaction_id */ |
| 543 | 545 |
| 544 // WebIDBDatabase::~WebIDBCursor() message. | 546 // WebIDBDatabase::~WebIDBCursor() message. |
| 545 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 547 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
| 546 int32 /* ipc_cursor_id */) | 548 int32 /* ipc_cursor_id */) |
| OLD | NEW |