Index: net/socket/stream_socket.h |
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h |
index 30a199e2dc3c9f24e3ec07ac583209b38ef1c9e4..32081f273307ebea8206f9e134a9b77dadcd4e8d 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" |
@@ -17,7 +18,7 @@ class SSLInfo; |
class NET_EXPORT_PRIVATE StreamSocket : public Socket { |
public: |
- ~StreamSocket() override {} |
+ ~StreamSocket() override; |
// Called to establish a connection. Returns OK if the connection could be |
// established synchronously. Otherwise, ERR_IO_PENDING is returned and the |
@@ -95,6 +96,10 @@ 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; |
+ virtual void ClearConnectionAttempts(); |
Randy Smith (Not in Mondays)
2015/05/12 20:11:09
I'm confused. My sense (please correct me if I'm
Deprecated (see juliatuttle)
2015/05/13 18:22:28
I believe you're wrong; can you point me to an ins
|
+ virtual void AddConnectionAttempts(const ConnectionAttempts& attempts); |
Randy Smith (Not in Mondays)
2015/05/12 20:11:09
Also note my earlier comment (different CL?) about
Randy Smith (Not in Mondays)
2015/05/12 20:11:09
So there's a philosophy issue here. I know that,
Deprecated (see juliatuttle)
2015/05/13 18:22:28
Done.
Deprecated (see juliatuttle)
2015/05/13 18:22:28
Will do. Sending comments in the meantime so you c
|
+ |
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 |