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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 1097303003: Plumb ConnectionAttempts from HttpNetworkTransaction to URLRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@domrel_serverip1
Patch Set: Tweak a couple of comments Created 5 years, 7 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 | « net/url_request/url_request_http_job.h ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3c8b97f3ef55a9c823453f7f87fd5547071c2a6b..a25afcb2baa5651dd0b3fae40186fcce4f0d5a9c 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -279,6 +279,13 @@ void URLRequestHttpJob::Kill() {
URLRequestJob::Kill();
}
+void URLRequestHttpJob::GetConnectionAttempts(ConnectionAttempts* out) const {
+ if (transaction_)
+ transaction_->GetConnectionAttempts(out);
+ else
+ out->clear();
+}
+
void URLRequestHttpJob::NotifyBeforeSendProxyHeadersCallback(
const ProxyInfo& proxy_info,
HttpRequestHeaders* request_headers) {
« no previous file with comments | « net/url_request/url_request_http_job.h ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698