| 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" |
| 11 #include "content/common/indexed_db/indexed_db_key_range.h" | 11 #include "content/common/indexed_db/indexed_db_key_range.h" |
| 12 #include "content/common/indexed_db/indexed_db_param_traits.h" | 12 #include "content/common/indexed_db/indexed_db_param_traits.h" |
| 13 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
| 14 #include "ipc/ipc_param_traits.h" | 14 #include "ipc/ipc_param_traits.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCursor.h" | 15 #include "third_party/WebKit/public/platform/WebIDBCursor.h" |
| 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabase.h" | 16 #include "third_party/WebKit/public/platform/WebIDBDatabase.h" |
| 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBMetadata.h" | 17 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" |
| 18 | 18 |
| 19 #define IPC_MESSAGE_START IndexedDBMsgStart | 19 #define IPC_MESSAGE_START IndexedDBMsgStart |
| 20 | 20 |
| 21 // Argument structures used in messages | 21 // Argument structures used in messages |
| 22 | 22 |
| 23 IPC_ENUM_TRAITS(WebKit::WebIDBCursor::Direction) | 23 IPC_ENUM_TRAITS(WebKit::WebIDBCursor::Direction) |
| 24 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::PutMode) | 24 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::PutMode) |
| 25 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::TaskType) | 25 IPC_ENUM_TRAITS(WebKit::WebIDBDatabase::TaskType) |
| 26 | 26 |
| 27 // Used to enumerate indexed databases. | 27 // Used to enumerate indexed databases. |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 501 |
| 502 // WebIDBDatabase::commit() message. | 502 // WebIDBDatabase::commit() message. |
| 503 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, | 503 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, |
| 504 int32, /* ipc_database_id */ | 504 int32, /* ipc_database_id */ |
| 505 int64) /* transaction_id */ | 505 int64) /* transaction_id */ |
| 506 | 506 |
| 507 // WebIDBDatabase::~WebIDBCursor() message. | 507 // WebIDBDatabase::~WebIDBCursor() message. |
| 508 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, | 508 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, |
| 509 int32 /* ipc_cursor_id */) | 509 int32 /* ipc_cursor_id */) |
| 510 | 510 |
| OLD | NEW |