Chromium Code Reviews| 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_ROUTED1(ResourceHostMsg_TransferRequestToNewPage, | |
|
jam
2011/08/15 16:31:02
I don't see a need for this to be a routed message
Dmitry Titov
2011/08/15 20:50:10
Done.
| |
| 167 int /* request_id */) | |
| 168 | |
| 163 // Follows a redirect that occured for the resource request with the ID given | 169 // Follows a redirect that occured for the resource request with the ID given |
| 164 // as the parameter. | 170 // as the parameter. |
| 165 IPC_MESSAGE_ROUTED3(ResourceHostMsg_FollowRedirect, | 171 IPC_MESSAGE_ROUTED3(ResourceHostMsg_FollowRedirect, |
| 166 int /* request_id */, | 172 int /* request_id */, |
| 167 bool /* has_new_first_party_for_cookies */, | 173 bool /* has_new_first_party_for_cookies */, |
| 168 GURL /* new_first_party_for_cookies */) | 174 GURL /* new_first_party_for_cookies */) |
| 169 | 175 |
| 170 // Makes a synchronous resource request via the browser. | 176 // Makes a synchronous resource request via the browser. |
| 171 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, | 177 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, |
| 172 int /* request_id */, | 178 int /* request_id */, |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 183 int /* request_id */) | 189 int /* request_id */) |
| 184 | 190 |
| 185 // Sent by the renderer process to acknowledge receipt of a | 191 // Sent by the renderer process to acknowledge receipt of a |
| 186 // UploadProgress message. | 192 // UploadProgress message. |
| 187 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 193 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
| 188 int /* request_id */) | 194 int /* request_id */) |
| 189 | 195 |
| 190 // Sent when the renderer process deletes a resource loader. | 196 // Sent when the renderer process deletes a resource loader. |
| 191 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 197 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 192 int /* request_id */) | 198 int /* request_id */) |
| OLD | NEW |