| Index: net/socket/tcp_client_socket.h
|
| diff --git a/net/socket/tcp_client_socket.h b/net/socket/tcp_client_socket.h
|
| index e1b3fa09433cbfa79b691fdd3da0893c6bf6c889..041369ddf8275b88075c379ff975703b13c35361 100644
|
| --- a/net/socket/tcp_client_socket.h
|
| +++ b/net/socket/tcp_client_socket.h
|
| @@ -12,6 +12,7 @@
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/net_export.h"
|
| #include "net/log/net_log.h"
|
| +#include "net/socket/connection_attempts.h"
|
| #include "net/socket/stream_socket.h"
|
| #include "net/socket/tcp_socket.h"
|
|
|
| @@ -69,6 +70,10 @@ class NET_EXPORT TCPClientSocket : public StreamSocket {
|
| virtual bool SetKeepAlive(bool enable, int delay);
|
| virtual bool SetNoDelay(bool no_delay);
|
|
|
| + void GetConnectionAttempts(ConnectionAttempts* out) const override;
|
| + void ClearConnectionAttempts() override;
|
| + void AddConnectionAttempts(const ConnectionAttempts& attempts) override;
|
| +
|
| private:
|
| // State machine for connecting the socket.
|
| enum ConnectState {
|
| @@ -116,6 +121,8 @@ class NET_EXPORT TCPClientSocket : public StreamSocket {
|
| // histograms.
|
| UseHistory use_history_;
|
|
|
| + ConnectionAttempts connection_attempts_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TCPClientSocket);
|
| };
|
|
|
|
|