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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
103 IPC_STRUCT_MEMBER(int32, idb_object_store_id) | 103 IPC_STRUCT_MEMBER(int32, idb_object_store_id) |
104 // The id any response should contain. | 104 // The id any response should contain. |
105 IPC_STRUCT_MEMBER(int32, thread_id) | 105 IPC_STRUCT_MEMBER(int32, thread_id) |
106 IPC_STRUCT_MEMBER(int32, response_id) | 106 IPC_STRUCT_MEMBER(int32, response_id) |
107 // The value to set. | 107 // The value to set. |
108 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) | 108 IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value) |
109 // The key to set it on (may not be "valid"/set in some cases). | 109 // The key to set it on (may not be "valid"/set in some cases). |
110 IPC_STRUCT_MEMBER(content::IndexedDBKey, key) | 110 IPC_STRUCT_MEMBER(content::IndexedDBKey, key) |
111 // Whether this is an add or a put. | 111 // Whether this is an add or a put. |
112 IPC_STRUCT_MEMBER(WebKit::WebIDBObjectStore::PutMode, put_mode) | 112 IPC_STRUCT_MEMBER(WebKit::WebIDBObjectStore::PutMode, put_mode) |
113 // the names of the indexes used below | |
jsbell
2012/07/10 17:46:54
Capitalize/period.
alecflett
2012/07/10 21:19:07
Done.
| |
114 IPC_STRUCT_MEMBER(std::vector<string16>, index_names) | |
115 // the keys for each index | |
jsbell
2012/07/10 17:46:54
Capitalize/period. Also may want to clarify that t
alecflett
2012/07/10 21:19:07
Done.
| |
116 IPC_STRUCT_MEMBER(std::vector<std::vector<content::IndexedDBKey> >, | |
117 index_keys) | |
113 // The transaction it's associated with. | 118 // The transaction it's associated with. |
114 IPC_STRUCT_MEMBER(int, transaction_id) | 119 IPC_STRUCT_MEMBER(int, transaction_id) |
115 IPC_STRUCT_END() | 120 IPC_STRUCT_END() |
116 | 121 |
117 // Used to create an index. | 122 // Used to create an index. |
118 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params) | 123 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params) |
119 // The name of the index. | 124 // The name of the index. |
120 IPC_STRUCT_MEMBER(string16, name) | 125 IPC_STRUCT_MEMBER(string16, name) |
121 // The keyPath of the index. | 126 // The keyPath of the index. |
122 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, key_path) | 127 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, key_path) |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
517 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 522 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
518 int32 /* idb_transaction_id */) | 523 int32 /* idb_transaction_id */) |
519 | 524 |
520 // IDBTransaction::DidCompleteTaskEvents() message. | 525 // IDBTransaction::DidCompleteTaskEvents() message. |
521 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 526 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
522 int32 /* idb_transaction_id */) | 527 int32 /* idb_transaction_id */) |
523 | 528 |
524 // WebIDBTransaction::~WebIDBTransaction() message. | 529 // WebIDBTransaction::~WebIDBTransaction() message. |
525 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 530 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
526 int32 /* idb_transaction_id */) | 531 int32 /* idb_transaction_id */) |
OLD | NEW |