| 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" |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 // Makes a resource request via the browser. | 180 // Makes a resource request via the browser. |
| 181 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, | 181 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, |
| 182 int /* request_id */, | 182 int /* request_id */, |
| 183 ResourceHostMsg_Request) | 183 ResourceHostMsg_Request) |
| 184 | 184 |
| 185 // Cancels a resource request with the ID given as the parameter. | 185 // Cancels a resource request with the ID given as the parameter. |
| 186 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, | 186 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, |
| 187 int /* request_id */) | 187 int /* request_id */) |
| 188 | 188 |
| 189 // Sets a new routing id for the resource request with the ID given as the | |
| 190 // parameter. This happens when a pending request is transferred to another | |
| 191 // page. | |
| 192 IPC_MESSAGE_CONTROL2(ResourceHostMsg_TransferRequestToNewPage, | |
| 193 int /* new routing_id */, | |
| 194 int /* request_id */) | |
| 195 | |
| 196 // Follows a redirect that occured for the resource request with the ID given | 189 // Follows a redirect that occured for the resource request with the ID given |
| 197 // as the parameter. | 190 // as the parameter. |
| 198 IPC_MESSAGE_ROUTED3(ResourceHostMsg_FollowRedirect, | 191 IPC_MESSAGE_ROUTED3(ResourceHostMsg_FollowRedirect, |
| 199 int /* request_id */, | 192 int /* request_id */, |
| 200 bool /* has_new_first_party_for_cookies */, | 193 bool /* has_new_first_party_for_cookies */, |
| 201 GURL /* new_first_party_for_cookies */) | 194 GURL /* new_first_party_for_cookies */) |
| 202 | 195 |
| 203 // Makes a synchronous resource request via the browser. | 196 // Makes a synchronous resource request via the browser. |
| 204 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, | 197 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, |
| 205 int /* request_id */, | 198 int /* request_id */, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 216 int /* request_id */) | 209 int /* request_id */) |
| 217 | 210 |
| 218 // Sent by the renderer process to acknowledge receipt of a | 211 // Sent by the renderer process to acknowledge receipt of a |
| 219 // UploadProgress message. | 212 // UploadProgress message. |
| 220 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 213 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
| 221 int /* request_id */) | 214 int /* request_id */) |
| 222 | 215 |
| 223 // Sent when the renderer process deletes a resource loader. | 216 // Sent when the renderer process deletes a resource loader. |
| 224 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 217 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 225 int /* request_id */) | 218 int /* request_id */) |
| OLD | NEW |