| Index: net/socket/ssl_server_socket_nss.h
|
| diff --git a/net/socket/ssl_server_socket_nss.h b/net/socket/ssl_server_socket_nss.h
|
| index eddb543a2359aa6c963711cc2e417f2be26fa333..d40b096577cffc3848f57c49848dce3500ad55c9 100644
|
| --- a/net/socket/ssl_server_socket_nss.h
|
| +++ b/net/socket/ssl_server_socket_nss.h
|
| @@ -28,42 +28,44 @@ class SSLServerSocketNSS : public SSLServerSocket {
|
| scoped_refptr<X509Certificate> certificate,
|
| crypto::RSAPrivateKey* key,
|
| const SSLConfig& ssl_config);
|
| - virtual ~SSLServerSocketNSS();
|
| + ~SSLServerSocketNSS() override;
|
|
|
| // SSLServerSocket interface.
|
| - virtual int Handshake(const CompletionCallback& callback) override;
|
| + int Handshake(const CompletionCallback& callback) override;
|
|
|
| // SSLSocket interface.
|
| - virtual int ExportKeyingMaterial(const base::StringPiece& label,
|
| - bool has_context,
|
| - const base::StringPiece& context,
|
| - unsigned char* out,
|
| - unsigned int outlen) override;
|
| - virtual int GetTLSUniqueChannelBinding(std::string* out) override;
|
| + int ExportKeyingMaterial(const base::StringPiece& label,
|
| + bool has_context,
|
| + const base::StringPiece& context,
|
| + unsigned char* out,
|
| + unsigned int outlen) override;
|
| + int GetTLSUniqueChannelBinding(std::string* out) override;
|
|
|
| // Socket interface (via StreamSocket).
|
| - 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;
|
|
|
| // 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;
|
|
|
| private:
|
| enum State {
|
|
|