Index: content/browser/loader/async_resource_handler.cc |
diff --git a/content/browser/loader/async_resource_handler.cc b/content/browser/loader/async_resource_handler.cc |
index 91d0350b7cf552d3ed7f2f909ab5d3294bf611bd..64ce012b67cf5e8876dc5c0082c0048a0ac267f3 100644 |
--- a/content/browser/loader/async_resource_handler.cc |
+++ b/content/browser/loader/async_resource_handler.cc |
@@ -317,6 +317,7 @@ bool AsyncResourceHandler::OnRequestRedirected( |
reported_transfer_size_ = 0; |
response->head.request_start = request()->creation_time(); |
response->head.response_start = TimeTicks::Now(); |
+ response->head.encoded_data_length = request()->GetTotalReceivedBytes(); |
// TODO(davidben): Is it necessary to pass the new first party URL for |
// cookies? The only case where it can change is top-level navigation requests |
// and hopefully those will eventually all be owned by the browser. It's |