Index: net/socket/websocket_endpoint_lock_manager_unittest.cc |
diff --git a/net/socket/websocket_endpoint_lock_manager_unittest.cc b/net/socket/websocket_endpoint_lock_manager_unittest.cc |
index cfc6cc679f5b11ee11cd7be2e793d13380dad1b4..cafd1aaf71a5c77a310df215ad0566401b38410a 100644 |
--- a/net/socket/websocket_endpoint_lock_manager_unittest.cc |
+++ b/net/socket/websocket_endpoint_lock_manager_unittest.cc |
@@ -22,57 +22,57 @@ class FakeStreamSocket : public StreamSocket { |
FakeStreamSocket() {} |
// StreamSocket implementation |
- virtual int Connect(const CompletionCallback& callback) OVERRIDE { |
+ virtual int Connect(const CompletionCallback& callback) override { |
return ERR_FAILED; |
} |
- virtual void Disconnect() OVERRIDE { return; } |
+ virtual void Disconnect() override { return; } |
- virtual bool IsConnected() const OVERRIDE { return false; } |
+ virtual bool IsConnected() const override { return false; } |
- virtual bool IsConnectedAndIdle() const OVERRIDE { return false; } |
+ virtual bool IsConnectedAndIdle() const override { return false; } |
- virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE { |
+ virtual int GetPeerAddress(IPEndPoint* address) const override { |
return ERR_FAILED; |
} |
- virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE { |
+ virtual int GetLocalAddress(IPEndPoint* address) const override { |
return ERR_FAILED; |
} |
- virtual const BoundNetLog& NetLog() const OVERRIDE { return bound_net_log_; } |
+ virtual const BoundNetLog& NetLog() const override { return bound_net_log_; } |
- virtual void SetSubresourceSpeculation() OVERRIDE { return; } |
- virtual void SetOmniboxSpeculation() OVERRIDE { return; } |
+ virtual void SetSubresourceSpeculation() override { return; } |
+ virtual void SetOmniboxSpeculation() override { return; } |
- virtual bool WasEverUsed() const OVERRIDE { return false; } |
+ virtual bool WasEverUsed() const override { return false; } |
- virtual bool UsingTCPFastOpen() const OVERRIDE { return false; } |
+ virtual bool UsingTCPFastOpen() const override { return false; } |
- virtual bool WasNpnNegotiated() const OVERRIDE { return false; } |
+ virtual bool WasNpnNegotiated() const override { return false; } |
- virtual NextProto GetNegotiatedProtocol() const OVERRIDE { |
+ virtual NextProto GetNegotiatedProtocol() const override { |
return kProtoUnknown; |
} |
- virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE { return false; } |
+ virtual bool GetSSLInfo(SSLInfo* ssl_info) override { return false; } |
// Socket implementation |
virtual int Read(IOBuffer* buf, |
int buf_len, |
- const CompletionCallback& callback) OVERRIDE { |
+ const CompletionCallback& callback) override { |
return ERR_FAILED; |
} |
virtual int Write(IOBuffer* buf, |
int buf_len, |
- const CompletionCallback& callback) OVERRIDE { |
+ const CompletionCallback& callback) override { |
return ERR_FAILED; |
} |
- virtual int SetReceiveBufferSize(int32 size) OVERRIDE { return ERR_FAILED; } |
+ virtual int SetReceiveBufferSize(int32 size) override { return ERR_FAILED; } |
- virtual int SetSendBufferSize(int32 size) OVERRIDE { return ERR_FAILED; } |
+ virtual int SetSendBufferSize(int32 size) override { return ERR_FAILED; } |
private: |
BoundNetLog bound_net_log_; |
@@ -84,7 +84,7 @@ class FakeWaiter : public WebSocketEndpointLockManager::Waiter { |
public: |
FakeWaiter() : called_(false) {} |
- virtual void GotEndpointLock() OVERRIDE { |
+ virtual void GotEndpointLock() override { |
CHECK(!called_); |
called_ = true; |
} |