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

Unified Diff: net/url_request/url_request.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.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 6032c4cb4885b6f6124939844a44d4c7e165bf79..25610955e6039492f968508a82afad879fd22fdc 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -1186,4 +1186,11 @@ const base::debug::StackTrace* URLRequest::stack_trace() const {
return stack_trace_.get();
}
+void URLRequest::GetConnectionAttempts(ConnectionAttempts* out) const {
Randy Smith (Not in Mondays) 2015/05/01 17:03:43 Actually, you might be able to get away without ha
Randy Smith (Not in Mondays) 2015/05/01 17:08:20 Actually (:-}), please ignore this comment; out->c
Deprecated (see juliatuttle) 2015/05/04 19:53:37 Acknowledged.
Deprecated (see juliatuttle) 2015/05/04 19:53:37 Acknowledged.
+ if (job_)
+ job_->GetConnectionAttempts(out);
+ else
+ out->clear();
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698