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 // IPC messages for resource loading. | 5 // IPC messages for resource loading. |
| 6 |
6 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
7 | |
8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
9 #include "content/common/resource_response.h" | 9 #include "content/common/resource_response.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
11 #include "net/base/upload_data.h" | 11 #include "net/base/upload_data.h" |
12 | 12 |
13 namespace net { | |
14 class UploadData; | |
15 } | |
16 | |
17 #define IPC_MESSAGE_START ResourceMsgStart | 13 #define IPC_MESSAGE_START ResourceMsgStart |
18 | 14 |
19 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) | 15 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) |
20 IPC_STRUCT_TRAITS_MEMBER(request_time) | 16 IPC_STRUCT_TRAITS_MEMBER(request_time) |
21 IPC_STRUCT_TRAITS_MEMBER(response_time) | 17 IPC_STRUCT_TRAITS_MEMBER(response_time) |
22 IPC_STRUCT_TRAITS_MEMBER(headers) | 18 IPC_STRUCT_TRAITS_MEMBER(headers) |
23 IPC_STRUCT_TRAITS_MEMBER(mime_type) | 19 IPC_STRUCT_TRAITS_MEMBER(mime_type) |
24 IPC_STRUCT_TRAITS_MEMBER(charset) | 20 IPC_STRUCT_TRAITS_MEMBER(charset) |
25 IPC_STRUCT_TRAITS_MEMBER(security_info) | 21 IPC_STRUCT_TRAITS_MEMBER(security_info) |
26 IPC_STRUCT_TRAITS_MEMBER(content_length) | 22 IPC_STRUCT_TRAITS_MEMBER(content_length) |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 int /* request_id */) | 174 int /* request_id */) |
179 | 175 |
180 // Sent by the renderer process to acknowledge receipt of a | 176 // Sent by the renderer process to acknowledge receipt of a |
181 // UploadProgress message. | 177 // UploadProgress message. |
182 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 178 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
183 int /* request_id */) | 179 int /* request_id */) |
184 | 180 |
185 // Sent when the renderer process deletes a resource loader. | 181 // Sent when the renderer process deletes a resource loader. |
186 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 182 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
187 int /* request_id */) | 183 int /* request_id */) |
OLD | NEW |