Index: chrome/common/render_messages_internal.h |
=================================================================== |
--- chrome/common/render_messages_internal.h (revision 60222) |
+++ chrome/common/render_messages_internal.h (working copy) |
@@ -303,13 +303,6 @@ |
int /* request_id */, |
std::vector<char> /* data */) |
- // Sent as download progress is being made, size of the resource may be |
- // unknown, in that case |size| is -1. |
- IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress, |
- int /* request_id */, |
- int64 /* position */, |
- int64 /* size */) |
- |
// Sent as upload progress is being made. |
IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress, |
int /* request_id */, |
@@ -331,6 +324,13 @@ |
base::SharedMemoryHandle /* data */, |
int /* data_len */) |
+ // Sent when some data from a resource request has been downloaded to |
+ // file. This is only called in the 'download_to_file' case and replaces |
+ // ViewMsg_Resource_DataReceived in the call sequence in that case. |
+ IPC_MESSAGE_ROUTED2(ViewMsg_Resource_DataDownloaded, |
+ int /* request_id */, |
+ int /* data_len */) |
+ |
// Sent when the request has been completed. |
IPC_MESSAGE_ROUTED4(ViewMsg_Resource_RequestComplete, |
int /* request_id */, |
@@ -1862,6 +1862,14 @@ |
IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
int /* request_id */) |
+ // Sent when the renderer has processed a DataDownloaded message. |
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_DataDownloaded_ACK, |
+ int /* request_id */) |
+ |
+ // Sent when the renderer process deletes a resource loader. |
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceLoaderDeleted, |
+ int /* request_id */) |
+ |
// Sent when a provisional load on the main frame redirects. |
IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, |
int /* page_id */, |
@@ -1869,11 +1877,6 @@ |
GURL /* url redirected to */) |
// Sent by the renderer process to acknowledge receipt of a |
- // DownloadProgress message. |
- IPC_MESSAGE_ROUTED1(ViewHostMsg_DownloadProgress_ACK, |
- int /* request_id */) |
- |
- // Sent by the renderer process to acknowledge receipt of a |
// UploadProgress message. |
IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK, |
int /* request_id */) |