Index: net/socket/unix_domain_client_socket_posix.h |
diff --git a/net/socket/unix_domain_client_socket_posix.h b/net/socket/unix_domain_client_socket_posix.h |
index e70694aae711d70a1903154af4d934de842e73c1..2a8bdb625c9f37b51e8e7fc3fe5a5e8677f2d99c 100644 |
--- a/net/socket/unix_domain_client_socket_posix.h |
+++ b/net/socket/unix_domain_client_socket_posix.h |
@@ -32,7 +32,7 @@ class NET_EXPORT UnixDomainClientSocket : public StreamSocket { |
// UnixDomainServerSocket uses this after it accepts a connection. |
explicit UnixDomainClientSocket(scoped_ptr<SocketLibevent> socket); |
- virtual ~UnixDomainClientSocket(); |
+ ~UnixDomainClientSocket() override; |
// Fills |address| with |socket_path| and its length. For Android or Linux |
// platform, this supports abstract namespaces. |
@@ -41,28 +41,30 @@ class NET_EXPORT UnixDomainClientSocket : public StreamSocket { |
SockaddrStorage* address); |
// StreamSocket implementation. |
- virtual int Connect(const CompletionCallback& callback) override; |
- virtual void Disconnect() override; |
- virtual bool IsConnected() const override; |
- virtual bool IsConnectedAndIdle() const override; |
- virtual int GetPeerAddress(IPEndPoint* address) const override; |
- virtual int GetLocalAddress(IPEndPoint* address) 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; |
+ int GetPeerAddress(IPEndPoint* address) const override; |
+ int GetLocalAddress(IPEndPoint* address) 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; |
+ 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; |
// Releases ownership of underlying SocketDescriptor to caller. |
// Internal state is reset so that this object can be used again. |