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 // NOTE: All messages must send an |int request_id| as their first parameter. | 7 // NOTE: All messages must send an |int request_id| as their first parameter. |
8 | 8 |
9 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 // Makes a resource request via the browser. | 283 // Makes a resource request via the browser. |
284 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, | 284 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, |
285 int /* request_id */, | 285 int /* request_id */, |
286 ResourceHostMsg_Request) | 286 ResourceHostMsg_Request) |
287 | 287 |
288 // Cancels a resource request with the ID given as the parameter. | 288 // Cancels a resource request with the ID given as the parameter. |
289 IPC_MESSAGE_CONTROL1(ResourceHostMsg_CancelRequest, | 289 IPC_MESSAGE_CONTROL1(ResourceHostMsg_CancelRequest, |
290 int /* request_id */) | 290 int /* request_id */) |
291 | 291 |
| 292 // Sent when the browser had decided that a particular request will be started |
| 293 // (effectively this means we know it won't be immediately cancelled). |
| 294 IPC_MESSAGE_CONTROL1(ResourceMsg_RequestDidStartForFrame, |
| 295 int /* request_id */) |
| 296 |
292 // Follows a redirect that occured for the resource request with the ID given | 297 // Follows a redirect that occured for the resource request with the ID given |
293 // as the parameter. | 298 // as the parameter. |
294 IPC_MESSAGE_CONTROL3(ResourceHostMsg_FollowRedirect, | 299 IPC_MESSAGE_CONTROL3(ResourceHostMsg_FollowRedirect, |
295 int /* request_id */, | 300 int /* request_id */, |
296 bool /* has_new_first_party_for_cookies */, | 301 bool /* has_new_first_party_for_cookies */, |
297 GURL /* new_first_party_for_cookies */) | 302 GURL /* new_first_party_for_cookies */) |
298 | 303 |
299 // Makes a synchronous resource request via the browser. | 304 // Makes a synchronous resource request via the browser. |
300 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, | 305 IPC_SYNC_MESSAGE_ROUTED2_1(ResourceHostMsg_SyncLoad, |
301 int /* request_id */, | 306 int /* request_id */, |
(...skipping 15 matching lines...) Expand all Loading... |
317 int /* request_id */) | 322 int /* request_id */) |
318 | 323 |
319 // Sent when the renderer process deletes a resource loader. | 324 // Sent when the renderer process deletes a resource loader. |
320 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 325 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
321 int /* request_id */) | 326 int /* request_id */) |
322 | 327 |
323 // Sent by the renderer when a resource request changes priority. | 328 // Sent by the renderer when a resource request changes priority. |
324 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, | 329 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, |
325 int /* request_id */, | 330 int /* request_id */, |
326 net::RequestPriority) | 331 net::RequestPriority) |
OLD | NEW |