| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OPENSSL_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual void SetOmniboxSpeculation() OVERRIDE; | 82 virtual void SetOmniboxSpeculation() OVERRIDE; |
| 83 virtual bool WasEverUsed() const OVERRIDE; | 83 virtual bool WasEverUsed() const OVERRIDE; |
| 84 virtual bool UsingTCPFastOpen() const OVERRIDE; | 84 virtual bool UsingTCPFastOpen() const OVERRIDE; |
| 85 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; | 85 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; |
| 86 | 86 |
| 87 // Socket implementation. | 87 // Socket implementation. |
| 88 virtual int Read(IOBuffer* buf, int buf_len, | 88 virtual int Read(IOBuffer* buf, int buf_len, |
| 89 const CompletionCallback& callback) OVERRIDE; | 89 const CompletionCallback& callback) OVERRIDE; |
| 90 virtual int Write(IOBuffer* buf, int buf_len, | 90 virtual int Write(IOBuffer* buf, int buf_len, |
| 91 const CompletionCallback& callback) OVERRIDE; | 91 const CompletionCallback& callback) OVERRIDE; |
| 92 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; | 92 virtual int SetReceiveBufferSize(int32 size) OVERRIDE; |
| 93 virtual bool SetSendBufferSize(int32 size) OVERRIDE; | 93 virtual int SetSendBufferSize(int32 size) OVERRIDE; |
| 94 | 94 |
| 95 protected: | 95 protected: |
| 96 // SSLClientSocket implementation. | 96 // SSLClientSocket implementation. |
| 97 virtual scoped_refptr<X509Certificate> GetUnverifiedServerCertificateChain() | 97 virtual scoped_refptr<X509Certificate> GetUnverifiedServerCertificateChain() |
| 98 const OVERRIDE; | 98 const OVERRIDE; |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 class PeerCertificateChain; | 101 class PeerCertificateChain; |
| 102 class SSLContext; | 102 class SSLContext; |
| 103 friend class SSLClientSocket; | 103 friend class SSLClientSocket; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // True if channel ID extension was negotiated. | 237 // True if channel ID extension was negotiated. |
| 238 bool channel_id_xtn_negotiated_; | 238 bool channel_id_xtn_negotiated_; |
| 239 // The request handle for |server_bound_cert_service_|. | 239 // The request handle for |server_bound_cert_service_|. |
| 240 ServerBoundCertService::RequestHandle channel_id_request_handle_; | 240 ServerBoundCertService::RequestHandle channel_id_request_handle_; |
| 241 BoundNetLog net_log_; | 241 BoundNetLog net_log_; |
| 242 }; | 242 }; |
| 243 | 243 |
| 244 } // namespace net | 244 } // namespace net |
| 245 | 245 |
| 246 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 246 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| OLD | NEW |