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

Unified Diff: net/socket/stream_socket.h

Issue 1096203006: Collect all ConnectionAttempts from both sockets in TransportConnectJob. (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
« no previous file with comments | « no previous file | net/socket/stream_socket.cc » ('j') | net/socket/transport_client_socket_pool.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/stream_socket.h
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h
index 30a199e2dc3c9f24e3ec07ac583209b38ef1c9e4..1fb13e601fb2da14bf72910ca3158ff93795ccd6 100644
--- a/net/socket/stream_socket.h
+++ b/net/socket/stream_socket.h
@@ -6,6 +6,7 @@
#define NET_SOCKET_STREAM_SOCKET_H_
#include "net/log/net_log.h"
+#include "net/socket/connection_attempts.h"
Randy Smith (Not in Mondays) 2015/05/01 17:39:49 Replace with forward decl.
Deprecated (see juliatuttle) 2015/05/04 19:44:50 Can't, it's a typedef.
#include "net/socket/next_proto.h"
#include "net/socket/socket.h"
@@ -95,6 +96,8 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket {
// SSL was not used by this socket.
virtual bool GetSSLInfo(SSLInfo* ssl_info) = 0;
+ virtual void GetConnectionAttempts(ConnectionAttempts* out) const;
+
protected:
// The following class is only used to gather statistics about the history of
// a socket. It is only instantiated and used in basic sockets, such as
« no previous file with comments | « no previous file | net/socket/stream_socket.cc » ('j') | net/socket/transport_client_socket_pool.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698