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/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" |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // ResourceMsg_DataReceived in the call sequence in that case. | 162 // ResourceMsg_DataReceived in the call sequence in that case. |
163 IPC_MESSAGE_ROUTED2(ResourceMsg_DataDownloaded, | 163 IPC_MESSAGE_ROUTED2(ResourceMsg_DataDownloaded, |
164 int /* request_id */, | 164 int /* request_id */, |
165 int /* data_len */) | 165 int /* data_len */) |
166 | 166 |
167 // Sent when the request has been completed. | 167 // Sent when the request has been completed. |
168 IPC_MESSAGE_ROUTED4(ResourceMsg_RequestComplete, | 168 IPC_MESSAGE_ROUTED4(ResourceMsg_RequestComplete, |
169 int /* request_id */, | 169 int /* request_id */, |
170 net::URLRequestStatus /* status */, | 170 net::URLRequestStatus /* status */, |
171 std::string /* security info */, | 171 std::string /* security info */, |
172 base::Time /* completion_time */) | 172 base::TimeTicks /* completion_time */) |
173 | 173 |
174 // Resource messages sent from the renderer to the browser. | 174 // Resource messages sent from the renderer to the browser. |
175 | 175 |
176 // Makes a resource request via the browser. | 176 // Makes a resource request via the browser. |
177 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, | 177 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, |
178 int /* request_id */, | 178 int /* request_id */, |
179 ResourceHostMsg_Request) | 179 ResourceHostMsg_Request) |
180 | 180 |
181 // Cancels a resource request with the ID given as the parameter. | 181 // Cancels a resource request with the ID given as the parameter. |
182 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, | 182 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, |
(...skipping 29 matching lines...) Expand all Loading... |
212 int /* request_id */) | 212 int /* request_id */) |
213 | 213 |
214 // Sent by the renderer process to acknowledge receipt of a | 214 // Sent by the renderer process to acknowledge receipt of a |
215 // UploadProgress message. | 215 // UploadProgress message. |
216 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 216 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
217 int /* request_id */) | 217 int /* request_id */) |
218 | 218 |
219 // Sent when the renderer process deletes a resource loader. | 219 // Sent when the renderer process deletes a resource loader. |
220 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 220 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
221 int /* request_id */) | 221 int /* request_id */) |
OLD | NEW |