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

Unified Diff: net/socket/ssl_client_socket_pool.h

Issue 1006643002: Plumb connection attempts from (non-proxy) ConnectJobs to HttpNetworkTransaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/socket/ssl_client_socket_pool.h
diff --git a/net/socket/ssl_client_socket_pool.h b/net/socket/ssl_client_socket_pool.h
index d071c735e9711291611b543a04f7638c2c3c3f3b..b236e6c0268232436d5adfe56a9ba4d19dca76a7 100644
--- a/net/socket/ssl_client_socket_pool.h
+++ b/net/socket/ssl_client_socket_pool.h
@@ -14,6 +14,7 @@
#include "net/http/http_response_info.h"
#include "net/socket/client_socket_pool.h"
#include "net/socket/client_socket_pool_base.h"
+#include "net/socket/connection_attempts.h"
#include "net/socket/ssl_client_socket.h"
#include "net/ssl/ssl_config_service.h"
@@ -168,6 +169,12 @@ class SSLConnectJob : public ConnectJob {
HttpResponseInfo error_response_info_;
+ ConnectionAttempts connection_attempts_;
+ // The address of the server the connect job is connected to. Populated if
+ // and only if the connect job is connected *directly* to the server (not
+ // through an HTTPS CONNECT request or a SOCKS proxy).
+ IPEndPoint server_address_;
+
DISALLOW_COPY_AND_ASSIGN(SSLConnectJob);
};

Powered by Google App Engine
This is Rietveld 408576698