| Index: content/common/resource_messages.h
|
| diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
|
| index 0968771201dc267cb1a3b5cf04e6024568cf23fa..09c1598522fc85dc3822f4693242d7504f1fe722 100644
|
| --- a/content/common/resource_messages.h
|
| +++ b/content/common/resource_messages.h
|
| @@ -156,6 +156,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(has_major_certificate_errors)
|
| IPC_STRUCT_TRAITS_MEMBER(content_length)
|
| IPC_STRUCT_TRAITS_MEMBER(encoded_data_length)
|
| + IPC_STRUCT_TRAITS_MEMBER(encoded_body_length)
|
| IPC_STRUCT_TRAITS_MEMBER(appcache_id)
|
| IPC_STRUCT_TRAITS_MEMBER(appcache_manifest_url)
|
| IPC_STRUCT_TRAITS_MEMBER(load_timing)
|
| @@ -300,19 +301,21 @@ IPC_MESSAGE_CONTROL4(ResourceMsg_SetDataBuffer,
|
| // Sent when a chunk of data from a resource request is ready, and the resource
|
| // is expected to be small enough to fit in the inlined buffer.
|
| // The data is sent as a part of IPC message.
|
| -IPC_MESSAGE_CONTROL3(ResourceMsg_InlinedDataChunkReceived,
|
| +IPC_MESSAGE_CONTROL4(ResourceMsg_InlinedDataChunkReceived,
|
| int /* request_id */,
|
| std::vector<char> /* data */,
|
| - int /* encoded_data_length */)
|
| + int /* encoded_data_length */,
|
| + int /* encoded_body_length */)
|
|
|
| // Sent when some data from a resource request is ready. The data offset and
|
| // length specify a byte range into the shared memory buffer provided by the
|
| // SetDataBuffer message.
|
| -IPC_MESSAGE_CONTROL4(ResourceMsg_DataReceived,
|
| +IPC_MESSAGE_CONTROL5(ResourceMsg_DataReceived,
|
| int /* request_id */,
|
| int /* data_offset */,
|
| int /* data_length */,
|
| - int /* encoded_data_length */)
|
| + int /* encoded_data_length */,
|
| + int /* encoded_body_length */)
|
|
|
| // 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
|
|
|