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 <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "content/common/indexed_db/indexed_db_key.h" | 11 #include "content/common/indexed_db/indexed_db_key.h" |
12 #include "content/common/indexed_db/indexed_db_key_path.h" | 12 #include "content/common/indexed_db/indexed_db_key_path.h" |
13 #include "content/common/indexed_db/indexed_db_key_range.h" | 13 #include "content/common/indexed_db/indexed_db_key_range.h" |
14 #include "content/common/indexed_db/indexed_db_param_traits.h" | 14 #include "content/common/indexed_db/indexed_db_param_traits.h" |
15 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
16 #include "ipc/ipc_param_traits.h" | 16 #include "ipc/ipc_param_traits.h" |
17 #include "third_party/WebKit/public/platform/WebIDBTypes.h" | 17 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
18 | 18 |
19 // Singly-included section for typedefs in multiply-included file. | 19 // Singly-included section for typedefs in multiply-included file. |
20 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ | 20 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ |
21 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ | 21 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ |
22 | 22 |
23 // An index id, and corresponding set of keys to insert. | 23 // An index id, and corresponding set of keys to insert. |
24 typedef std::pair<int64, std::vector<content::IndexedDBKey> > IndexKeys; | 24 typedef std::pair<int64, std::vector<content::IndexedDBKey> > IndexKeys; |
25 | 25 |
26 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ | 26 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ |
27 | 27 |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 int64) /* transaction_id */ | 536 int64) /* transaction_id */ |
537 | 537 |
538 // WebIDBDatabase::commit() message. | 538 // WebIDBDatabase::commit() message. |
539 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 539 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
540 int32, /* ipc_database_id */ | 540 int32, /* ipc_database_id */ |
541 int64) /* transaction_id */ | 541 int64) /* transaction_id */ |
542 | 542 |
543 // WebIDBDatabase::~WebIDBCursor() message. | 543 // WebIDBDatabase::~WebIDBCursor() message. |
544 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 544 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
545 int32 /* ipc_cursor_id */) | 545 int32 /* ipc_cursor_id */) |
OLD | NEW |