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

Unified Diff: net/http/http_network_transaction_unittest.cc

Issue 1006643002: Plumb connection attempts from (non-proxy) ConnectJobs to HttpNetworkTransaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't copy attempts after reset on proxy HTTPS tunnel response Created 5 years, 9 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/http/http_network_transaction_unittest.cc
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index a3a96c44b0ad6123adc544ebd0f40bcca4de9832..eb1df4c5e83bf6133b7821ce19a6e0301d653fc3 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -12717,6 +12717,12 @@ class FakeStreamRequest : public HttpStreamRequest,
bool using_spdy() const override { return false; }
+ const ClientSocketHandle::ConnectionAttempts& connection_attempts()
+ const override {
+ static ClientSocketHandle::ConnectionAttempts no_attempts;
+ return no_attempts;
+ }
+
private:
RequestPriority priority_;
HttpStreamRequest::Delegate* const delegate_;

Powered by Google App Engine
This is Rietveld 408576698