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/resource_response.h" | 9 #include "content/common/resource_response.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 // Makes a resource request via the browser. | 154 // Makes a resource request via the browser. |
155 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, | 155 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, |
156 int /* request_id */, | 156 int /* request_id */, |
157 ResourceHostMsg_Request) | 157 ResourceHostMsg_Request) |
158 | 158 |
159 // Cancels a resource request with the ID given as the parameter. | 159 // Cancels a resource request with the ID given as the parameter. |
160 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, | 160 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, |
161 int /* request_id */) | 161 int /* request_id */) |
162 | 162 |
| 163 // Sets a new routing id for the resource request with the ID given as the |
| 164 // parameter. This happens when a pending request is transferred to another |
| 165 // page. |
| 166 IPC_MESSAGE_CONTROL2(ResourceHostMsg_TransferRequestToNewPage, |
| 167 int /* new routing_id */, |
| 168 int /* request_id */) |
| 169 |
163 // Follows a redirect that occured for the resource request with the ID given | 170 // Follows a redirect that occured for the resource request with the ID given |
164 // as the parameter. | 171 // as the parameter. |
165 IPC_MESSAGE_ROUTED3(ResourceHostMsg_FollowRedirect, | 172 IPC_MESSAGE_ROUTED3(ResourceHostMsg_FollowRedirect, |
166 int /* request_id */, | 173 int /* request_id */, |
167 bool /* has_new_first_party_for_cookies */, | 174 bool /* has_new_first_party_for_cookies */, |
168 GURL /* new_first_party_for_cookies */) | 175 GURL /* new_first_party_for_cookies */) |
169 | 176 |
170 // Makes a synchronous resource request via the browser. | 177 // Makes a synchronous resource request via the browser. |
171 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, | 178 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, |
172 int /* request_id */, | 179 int /* request_id */, |
(...skipping 10 matching lines...) Expand all Loading... |
183 int /* request_id */) | 190 int /* request_id */) |
184 | 191 |
185 // Sent by the renderer process to acknowledge receipt of a | 192 // Sent by the renderer process to acknowledge receipt of a |
186 // UploadProgress message. | 193 // UploadProgress message. |
187 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 194 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
188 int /* request_id */) | 195 int /* request_id */) |
189 | 196 |
190 // Sent when the renderer process deletes a resource loader. | 197 // Sent when the renderer process deletes a resource loader. |
191 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 198 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
192 int /* request_id */) | 199 int /* request_id */) |
OLD | NEW |