| Index: net/socket/stream_socket.h
|
| diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h
|
| index 30a199e2dc3c9f24e3ec07ac583209b38ef1c9e4..5669ea3e9a0106f56d21ad1316a119bb573c18ac 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"
|
| #include "net/socket/next_proto.h"
|
| #include "net/socket/socket.h"
|
|
|
| @@ -95,6 +96,16 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket {
|
| // SSL was not used by this socket.
|
| virtual bool GetSSLInfo(SSLInfo* ssl_info) = 0;
|
|
|
| + // Overwrites |out| with the connection attempts made in the process of
|
| + // connecting this socket.
|
| + virtual void GetConnectionAttempts(ConnectionAttempts* out) const = 0;
|
| +
|
| + // Clears the socket's list of connection attempts.
|
| + virtual void ClearConnectionAttempts() = 0;
|
| +
|
| + // Adds |attempts| to the socket's list of connection attempts.
|
| + virtual void AddConnectionAttempts(const ConnectionAttempts& attempts) = 0;
|
| +
|
| 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
|
|
|