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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 IPC_STRUCT_END() | 99 IPC_STRUCT_END() |
| 100 | 100 |
| 101 // Used to create an index. | 101 // Used to create an index. |
| 102 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params) | 102 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreCreateIndex_Params) |
| 103 // The name of the index. | 103 // The name of the index. |
| 104 IPC_STRUCT_MEMBER(string16, name) | 104 IPC_STRUCT_MEMBER(string16, name) |
| 105 // The keyPath of the index. | 105 // The keyPath of the index. |
| 106 IPC_STRUCT_MEMBER(NullableString16, key_path) | 106 IPC_STRUCT_MEMBER(NullableString16, key_path) |
| 107 // Whether the index created has unique keys. | 107 // Whether the index created has unique keys. |
| 108 IPC_STRUCT_MEMBER(bool, unique) | 108 IPC_STRUCT_MEMBER(bool, unique) |
| 109 // Whether the index created produces keys for each array entry. | |
| 110 IPC_STRUCT_MEMBER(bool, multiEntry) | |
|
jam
2011/12/02 20:36:04
multi_entry
| |
| 109 // The transaction this is associated with. | 111 // The transaction this is associated with. |
| 110 IPC_STRUCT_MEMBER(int32, transaction_id) | 112 IPC_STRUCT_MEMBER(int32, transaction_id) |
| 111 // The object store the index belongs to. | 113 // The object store the index belongs to. |
| 112 IPC_STRUCT_MEMBER(int32, idb_object_store_id) | 114 IPC_STRUCT_MEMBER(int32, idb_object_store_id) |
| 113 IPC_STRUCT_END() | 115 IPC_STRUCT_END() |
| 114 | 116 |
| 115 // Used to open an IndexedDB cursor. | 117 // Used to open an IndexedDB cursor. |
| 116 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreOpenCursor_Params) | 118 IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStoreOpenCursor_Params) |
| 117 // The response should have this id. | 119 // The response should have this id. |
| 118 IPC_STRUCT_MEMBER(int32, response_id) | 120 IPC_STRUCT_MEMBER(int32, response_id) |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 420 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 422 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, |
| 421 int32 /* idb_transaction_id */) | 423 int32 /* idb_transaction_id */) |
| 422 | 424 |
| 423 // IDBTransaction::DidCompleteTaskEvents() message. | 425 // IDBTransaction::DidCompleteTaskEvents() message. |
| 424 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 426 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, |
| 425 int32 /* idb_transaction_id */) | 427 int32 /* idb_transaction_id */) |
| 426 | 428 |
| 427 // WebIDBTransaction::~WebIDBTransaction() message. | 429 // WebIDBTransaction::~WebIDBTransaction() message. |
| 428 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 430 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, |
| 429 int32 /* idb_transaction_id */) | 431 int32 /* idb_transaction_id */) |
| OLD | NEW |