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 |
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/common/common_param_traits.h" | |
10 #include "content/common/resource_response.h" | 9 #include "content/common/resource_response.h" |
| 10 #include "content/public/common/common_param_traits.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(webkit_glue::ResourceResponseInfo) | 18 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) |
19 IPC_STRUCT_TRAITS_MEMBER(request_time) | 19 IPC_STRUCT_TRAITS_MEMBER(request_time) |
20 IPC_STRUCT_TRAITS_MEMBER(response_time) | 20 IPC_STRUCT_TRAITS_MEMBER(response_time) |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 int /* request_id */) | 195 int /* request_id */) |
196 | 196 |
197 // Sent by the renderer process to acknowledge receipt of a | 197 // Sent by the renderer process to acknowledge receipt of a |
198 // UploadProgress message. | 198 // UploadProgress message. |
199 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 199 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
200 int /* request_id */) | 200 int /* request_id */) |
201 | 201 |
202 // Sent when the renderer process deletes a resource loader. | 202 // Sent when the renderer process deletes a resource loader. |
203 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 203 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
204 int /* request_id */) | 204 int /* request_id */) |
OLD | NEW |