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

Unified Diff: net/url_request/url_request_job.cc

Issue 2471533006: Call MaybeNotifyNetworkBytes() in NotifyStartError(). (Closed)
Patch Set: Call MaybeNotifyNetworkBytes in NotifyStartError Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.cc
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index 07ea63f2c517eff3b29a1470f27d965554804f29..389763088a9baf4402334ad8e30090afedc39a41 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -557,6 +557,8 @@ void URLRequestJob::NotifyStartError(const URLRequestStatus &status) {
// error case.
GetResponseInfo(&request_->response_info_);
+ MaybeNotifyNetworkBytes();
+
request_->NotifyResponseStarted(status);
// |this| may have been deleted here.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698