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 // IPC messages for resource loading. | 5 // IPC messages for resource loading. |
6 | 6 |
7 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
9 #include "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "content/public/common/resource_response.h" | 10 #include "content/public/common/resource_response.h" |
11 #include "ipc/ipc_message_macros.h" | 11 #include "ipc/ipc_message_macros.h" |
12 #include "net/base/upload_data.h" | 12 #include "net/base/upload_data.h" |
13 | 13 |
14 #define IPC_MESSAGE_START ResourceMsgStart | 14 #define IPC_MESSAGE_START ResourceMsgStart |
15 #undef IPC_MESSAGE_EXPORT | 15 #undef IPC_MESSAGE_EXPORT |
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
17 | 17 |
18 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) | 18 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) |
19 IPC_STRUCT_TRAITS_PARENT(webkit_glue::ResourceResponseInfo) | 19 IPC_STRUCT_TRAITS_PARENT(webkit_glue::ResourceResponseInfo) |
20 IPC_STRUCT_TRAITS_MEMBER(status) | 20 IPC_STRUCT_TRAITS_MEMBER(status) |
| 21 IPC_STRUCT_TRAITS_MEMBER(request_start) |
| 22 IPC_STRUCT_TRAITS_MEMBER(response_start) |
21 IPC_STRUCT_TRAITS_END() | 23 IPC_STRUCT_TRAITS_END() |
22 | 24 |
23 IPC_STRUCT_TRAITS_BEGIN(content::SyncLoadResult) | 25 IPC_STRUCT_TRAITS_BEGIN(content::SyncLoadResult) |
24 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseHead) | 26 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseHead) |
25 IPC_STRUCT_TRAITS_MEMBER(final_url) | 27 IPC_STRUCT_TRAITS_MEMBER(final_url) |
26 IPC_STRUCT_TRAITS_MEMBER(data) | 28 IPC_STRUCT_TRAITS_MEMBER(data) |
27 IPC_STRUCT_TRAITS_END() | 29 IPC_STRUCT_TRAITS_END() |
28 | 30 |
29 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) | 31 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) |
30 IPC_STRUCT_TRAITS_MEMBER(request_time) | 32 IPC_STRUCT_TRAITS_MEMBER(request_time) |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 int /* request_id */) | 211 int /* request_id */) |
210 | 212 |
211 // Sent by the renderer process to acknowledge receipt of a | 213 // Sent by the renderer process to acknowledge receipt of a |
212 // UploadProgress message. | 214 // UploadProgress message. |
213 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 215 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
214 int /* request_id */) | 216 int /* request_id */) |
215 | 217 |
216 // Sent when the renderer process deletes a resource loader. | 218 // Sent when the renderer process deletes a resource loader. |
217 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 219 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
218 int /* request_id */) | 220 int /* request_id */) |
OLD | NEW |