| 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, 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 439 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 441 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, | 
| 440                      int32 /* idb_transaction_id */) | 442                      int32 /* idb_transaction_id */) | 
| 441 | 443 | 
| 442 // IDBTransaction::DidCompleteTaskEvents() message. | 444 // IDBTransaction::DidCompleteTaskEvents() message. | 
| 443 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 445 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, | 
| 444                      int32 /* idb_transaction_id */) | 446                      int32 /* idb_transaction_id */) | 
| 445 | 447 | 
| 446 // WebIDBTransaction::~WebIDBTransaction() message. | 448 // WebIDBTransaction::~WebIDBTransaction() message. | 
| 447 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 449 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, | 
| 448                      int32 /* idb_transaction_id */) | 450                      int32 /* idb_transaction_id */) | 
| OLD | NEW | 
|---|