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

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: rebase Created 5 years, 8 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
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 114a8bd53cee38aaabb1f4a8e60f15c40d34f68b..675362e0141aaa042c8253cadf504b298cddfee8 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) {

Powered by Google App Engine
This is Rietveld 408576698