Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 3455022: Revert 60378 (trying to track down http://crbug.com/56752 )- Flesh out URLLoa... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // Sent when the headers are available for a resource request. 296 // Sent when the headers are available for a resource request.
297 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse, 297 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse,
298 int /* request_id */, 298 int /* request_id */,
299 ResourceResponseHead) 299 ResourceResponseHead)
300 300
301 // Sent when cached metadata from a resource request is ready. 301 // Sent when cached metadata from a resource request is ready.
302 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedCachedMetadata, 302 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedCachedMetadata,
303 int /* request_id */, 303 int /* request_id */,
304 std::vector<char> /* data */) 304 std::vector<char> /* data */)
305 305
306 // Sent as download progress is being made, size of the resource may be
307 // unknown, in that case |size| is -1.
308 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress,
309 int /* request_id */,
310 int64 /* position */,
311 int64 /* size */)
312
306 // Sent as upload progress is being made. 313 // Sent as upload progress is being made.
307 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress, 314 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress,
308 int /* request_id */, 315 int /* request_id */,
309 int64 /* position */, 316 int64 /* position */,
310 int64 /* size */) 317 int64 /* size */)
311 318
312 // Sent when the request has been redirected. The receiver is expected to 319 // Sent when the request has been redirected. The receiver is expected to
313 // respond with either a FollowRedirect message (if the redirect is to be 320 // respond with either a FollowRedirect message (if the redirect is to be
314 // followed) or a CancelRequest message (if it should not be followed). 321 // followed) or a CancelRequest message (if it should not be followed).
315 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_ReceivedRedirect, 322 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_ReceivedRedirect,
316 int /* request_id */, 323 int /* request_id */,
317 GURL /* new_url */, 324 GURL /* new_url */,
318 ResourceResponseHead) 325 ResourceResponseHead)
319 326
320 // Sent when some data from a resource request is ready. The handle should 327 // Sent when some data from a resource request is ready. The handle should
321 // already be mapped into the process that receives this message. 328 // already be mapped into the process that receives this message.
322 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DataReceived, 329 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DataReceived,
323 int /* request_id */, 330 int /* request_id */,
324 base::SharedMemoryHandle /* data */, 331 base::SharedMemoryHandle /* data */,
325 int /* data_len */) 332 int /* data_len */)
326 333
327 // Sent when some data from a resource request has been downloaded to
328 // file. This is only called in the 'download_to_file' case and replaces
329 // ViewMsg_Resource_DataReceived in the call sequence in that case.
330 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_DataDownloaded,
331 int /* request_id */,
332 int /* data_len */)
333
334 // Sent when the request has been completed. 334 // Sent when the request has been completed.
335 IPC_MESSAGE_ROUTED4(ViewMsg_Resource_RequestComplete, 335 IPC_MESSAGE_ROUTED4(ViewMsg_Resource_RequestComplete,
336 int /* request_id */, 336 int /* request_id */,
337 URLRequestStatus /* status */, 337 URLRequestStatus /* status */,
338 std::string /* security info */, 338 std::string /* security info */,
339 base::Time /* completion_time */) 339 base::Time /* completion_time */)
340 340
341 // Sent when user prompting is required before a ViewHostMsg_GetCookies 341 // Sent when user prompting is required before a ViewHostMsg_GetCookies
342 // message can complete. This message indicates that the renderer should 342 // message can complete. This message indicates that the renderer should
343 // pump messages while waiting for cookies. 343 // pump messages while waiting for cookies.
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1865 // Get the CPBrowsingContext associated with the renderer sending this 1865 // Get the CPBrowsingContext associated with the renderer sending this
1866 // message. 1866 // message.
1867 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPBrowsingContext, 1867 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPBrowsingContext,
1868 uint32 /* context */) 1868 uint32 /* context */)
1869 1869
1870 // Sent when the renderer process is done processing a DataReceived 1870 // Sent when the renderer process is done processing a DataReceived
1871 // message. 1871 // message.
1872 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, 1872 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK,
1873 int /* request_id */) 1873 int /* request_id */)
1874 1874
1875 // Sent when the renderer has processed a DataDownloaded message.
1876 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataDownloaded_ACK,
1877 int /* request_id */)
1878
1879 // Sent when the renderer process deletes a resource loader.
1880 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceLoaderDeleted,
1881 int /* request_id */)
1882
1883 // Sent when a provisional load on the main frame redirects. 1875 // Sent when a provisional load on the main frame redirects.
1884 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, 1876 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad,
1885 int /* page_id */, 1877 int /* page_id */,
1886 GURL /* last url */, 1878 GURL /* last url */,
1887 GURL /* url redirected to */) 1879 GURL /* url redirected to */)
1888 1880
1889 // Sent by the renderer process to acknowledge receipt of a 1881 // Sent by the renderer process to acknowledge receipt of a
1882 // DownloadProgress message.
1883 IPC_MESSAGE_ROUTED1(ViewHostMsg_DownloadProgress_ACK,
1884 int /* request_id */)
1885
1886 // Sent by the renderer process to acknowledge receipt of a
1890 // UploadProgress message. 1887 // UploadProgress message.
1891 IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK, 1888 IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK,
1892 int /* request_id */) 1889 int /* request_id */)
1893 1890
1894 // Sent when the renderer changes the zoom level for a particular url, so the 1891 // Sent when the renderer changes the zoom level for a particular url, so the
1895 // browser can update its records. 1892 // browser can update its records.
1896 IPC_MESSAGE_CONTROL2(ViewHostMsg_DidZoomURL, 1893 IPC_MESSAGE_CONTROL2(ViewHostMsg_DidZoomURL,
1897 GURL /* url */, 1894 GURL /* url */,
1898 int /* zoom_level */) 1895 int /* zoom_level */)
1899 1896
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
2895 // Unregister a blob URL. 2892 // Unregister a blob URL.
2896 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) 2893 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */)
2897 2894
2898 // Suggest results ----------------------------------------------------------- 2895 // Suggest results -----------------------------------------------------------
2899 2896
2900 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult, 2897 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult,
2901 int32 /* page_id */, 2898 int32 /* page_id */,
2902 std::string /* suggest */) 2899 std::string /* suggest */)
2903 2900
2904 IPC_END_MESSAGES(ViewHost) 2901 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/sync_resource_handler.cc ('k') | chrome/common/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698