Index: net/socket/socks_client_socket.h |
diff --git a/net/socket/socks_client_socket.h b/net/socket/socks_client_socket.h |
index d480de40da73229922e5d31f139c10bc3dd6145c..e792881cc7f3167b5a1ddf174e09ad838cbe6959 100644 |
--- a/net/socket/socks_client_socket.h |
+++ b/net/socket/socks_client_socket.h |
@@ -35,37 +35,37 @@ class NET_EXPORT_PRIVATE SOCKSClientSocket : public StreamSocket { |
HostResolver* host_resolver); |
// On destruction Disconnect() is called. |
- virtual ~SOCKSClientSocket(); |
+ ~SOCKSClientSocket() override; |
// StreamSocket implementation. |
// Does the SOCKS handshake and completes the protocol. |
- virtual int Connect(const CompletionCallback& callback) override; |
- virtual void Disconnect() override; |
- virtual bool IsConnected() const override; |
- virtual bool IsConnectedAndIdle() const override; |
- virtual const BoundNetLog& NetLog() const override; |
- virtual void SetSubresourceSpeculation() override; |
- virtual void SetOmniboxSpeculation() override; |
- virtual bool WasEverUsed() const override; |
- virtual bool UsingTCPFastOpen() const override; |
- virtual bool WasNpnNegotiated() const override; |
- virtual NextProto GetNegotiatedProtocol() const override; |
- virtual bool GetSSLInfo(SSLInfo* ssl_info) override; |
+ int Connect(const CompletionCallback& callback) override; |
+ void Disconnect() override; |
+ bool IsConnected() const override; |
+ bool IsConnectedAndIdle() const override; |
+ const BoundNetLog& NetLog() const override; |
+ void SetSubresourceSpeculation() override; |
+ void SetOmniboxSpeculation() override; |
+ bool WasEverUsed() const override; |
+ bool UsingTCPFastOpen() const override; |
+ bool WasNpnNegotiated() const override; |
+ NextProto GetNegotiatedProtocol() const override; |
+ bool GetSSLInfo(SSLInfo* ssl_info) override; |
// Socket implementation. |
- virtual int Read(IOBuffer* buf, |
- int buf_len, |
- const CompletionCallback& callback) override; |
- virtual int Write(IOBuffer* buf, |
- int buf_len, |
- const CompletionCallback& callback) override; |
- |
- virtual int SetReceiveBufferSize(int32 size) override; |
- virtual int SetSendBufferSize(int32 size) override; |
- |
- virtual int GetPeerAddress(IPEndPoint* address) const override; |
- virtual int GetLocalAddress(IPEndPoint* address) const override; |
+ int Read(IOBuffer* buf, |
+ int buf_len, |
+ const CompletionCallback& callback) override; |
+ int Write(IOBuffer* buf, |
+ int buf_len, |
+ const CompletionCallback& callback) override; |
+ |
+ int SetReceiveBufferSize(int32 size) override; |
+ int SetSendBufferSize(int32 size) override; |
+ |
+ int GetPeerAddress(IPEndPoint* address) const override; |
+ int GetLocalAddress(IPEndPoint* address) const override; |
private: |
FRIEND_TEST_ALL_PREFIXES(SOCKSClientSocketTest, CompleteHandshake); |