Index: content/common/resource_messages.h |
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h |
index 0f343e72c8cc9723ecc9cb64e5ce9a8fa43b3799..a918d543ff297aab5c989d8a2ba74c9d9228554b 100644 |
--- a/content/common/resource_messages.h |
+++ b/content/common/resource_messages.h |
@@ -159,6 +159,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) |
@@ -307,19 +308,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 |