| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <certt.h> | 9 #include <certt.h> |
| 10 #include <keyt.h> | 10 #include <keyt.h> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); | 56 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); |
| 57 virtual NextProtoStatus GetNextProto(std::string* proto); | 57 virtual NextProtoStatus GetNextProto(std::string* proto); |
| 58 virtual void UseDNSSEC(DNSSECProvider* provider); | 58 virtual void UseDNSSEC(DNSSECProvider* provider); |
| 59 | 59 |
| 60 // ClientSocket methods: | 60 // ClientSocket methods: |
| 61 virtual int Connect(CompletionCallback* callback); | 61 virtual int Connect(CompletionCallback* callback); |
| 62 virtual void Disconnect(); | 62 virtual void Disconnect(); |
| 63 virtual bool IsConnected() const; | 63 virtual bool IsConnected() const; |
| 64 virtual bool IsConnectedAndIdle() const; | 64 virtual bool IsConnectedAndIdle() const; |
| 65 virtual int GetPeerAddress(AddressList* address) const; | 65 virtual int GetPeerAddress(AddressList* address) const; |
| 66 virtual const BoundNetLog& NetLog() const { return net_log_; } | 66 virtual const BoundNetLog& NetLog() const; |
| 67 virtual void SetSubresourceSpeculation(); | 67 virtual void SetSubresourceSpeculation(); |
| 68 virtual void SetOmniboxSpeculation(); | 68 virtual void SetOmniboxSpeculation(); |
| 69 virtual bool WasEverUsed() const; | 69 virtual bool WasEverUsed() const; |
| 70 virtual bool UsingTCPFastOpen() const; | 70 virtual bool UsingTCPFastOpen() const; |
| 71 | 71 |
| 72 // Socket methods: | 72 // Socket methods: |
| 73 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); | 73 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); |
| 74 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); | 74 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); |
| 75 virtual bool SetReceiveBufferSize(int32 size); | 75 virtual bool SetReceiveBufferSize(int32 size); |
| 76 virtual bool SetSendBufferSize(int32 size); | 76 virtual bool SetSendBufferSize(int32 size); |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 251 |
| 252 base::TimeTicks start_cert_verification_time_; | 252 base::TimeTicks start_cert_verification_time_; |
| 253 | 253 |
| 254 scoped_ptr<SSLHostInfo> ssl_host_info_; | 254 scoped_ptr<SSLHostInfo> ssl_host_info_; |
| 255 DnsCertProvenanceChecker* const dns_cert_checker_; | 255 DnsCertProvenanceChecker* const dns_cert_checker_; |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 } // namespace net | 258 } // namespace net |
| 259 | 259 |
| 260 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ | 260 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ |
| OLD | NEW |