Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Unified Diff: content/browser/loader/async_resource_handler.cc

Issue 2101073002: [DevTools] Always report encodedDataLength in Network.ResponseReceived. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/loader/netlog_observer.cc » ('j') | content/browser/loader/netlog_observer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 321b0de619bf68d689a4476e6487286ff235210e..a735d594a06135b0c71642e862e6f657cfcebede 100644
--- a/content/browser/loader/async_resource_handler.cc
+++ b/content/browser/loader/async_resource_handler.cc
@@ -303,7 +303,6 @@ bool AsyncResourceHandler::OnRequestRedirected(
}
NetLogObserver::PopulateResponseInfo(request(), response);
- response->head.encoded_data_length = request()->GetTotalReceivedBytes();
reported_transfer_size_ = 0;
response->head.request_start = request()->creation_time();
response->head.response_start = TimeTicks::Now();
« no previous file with comments | « no previous file | content/browser/loader/netlog_observer.cc » ('j') | content/browser/loader/netlog_observer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698