| Index: chrome/common/render_messages_internal.h
|
| diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
|
| index bdbabaa8e75e5137dfd0e1dcc02d7e069c4a2883..60da3326e5a78551a98802716619772912340744 100644
|
| --- a/chrome/common/render_messages_internal.h
|
| +++ b/chrome/common/render_messages_internal.h
|
| @@ -174,7 +174,14 @@ IPC_BEGIN_MESSAGES(View)
|
| int /* request_id */,
|
| ResourceResponseHead)
|
|
|
| - // Sent as upload progress is being made
|
| + // 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 */,
|
| int64 /* position */,
|
| @@ -1110,8 +1117,13 @@ IPC_BEGIN_MESSAGES(ViewHost)
|
| GURL /* last url */,
|
| GURL /* url redirected to */)
|
|
|
| - // Sent when the renderer process to acknowlege receipt of and UploadProgress
|
| - // message.
|
| + // 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 */)
|
|
|
|
|