Chromium Code Reviews| Index: net/url_request/url_request_http_job.cc |
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc |
| index c9aa4cc2ed326c6518658e1a01917401f97711cf..5f4f0961da1f41900631d6b76b7fce7af3aaf3fa 100644 |
| --- a/net/url_request/url_request_http_job.cc |
| +++ b/net/url_request/url_request_http_job.cc |
| @@ -1541,6 +1541,9 @@ void URLRequestHttpJob::DoneWithRequest(CompletionCause reason) { |
| network_quality_estimator->NotifyRequestCompleted(*request()); |
| } |
| + // Notify about any new network usage. |
| + MaybeNotifyNetworkBytes(); |
|
mmenke
2015/08/19 15:48:41
Why is this needed, when we call this in NotifyDon
sclittle
2015/08/20 01:10:49
This notification is no longer needed now that URL
|
| + |
| RecordPerfHistograms(reason); |
| if (request_) |
| request_->set_received_response_content_length(prefilter_bytes_read()); |