| 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 <openssl/base.h> | 8 #include <openssl/base.h> |
| 9 #include <openssl/ssl.h> | 9 #include <openssl/ssl.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 private: | 120 private: |
| 121 class PeerCertificateChain; | 121 class PeerCertificateChain; |
| 122 class SSLContext; | 122 class SSLContext; |
| 123 friend class SSLClientSocket; | 123 friend class SSLClientSocket; |
| 124 friend class SSLContext; | 124 friend class SSLContext; |
| 125 | 125 |
| 126 int Init(); | 126 int Init(); |
| 127 void DoReadCallback(int result); | 127 void DoReadCallback(int result); |
| 128 void DoWriteCallback(int result); | 128 void DoWriteCallback(int result); |
| 129 | 129 |
| 130 uint16_t GetCipherSuite(); | |
| 131 | |
| 132 bool DoTransportIO(); | 130 bool DoTransportIO(); |
| 133 int DoHandshake(); | 131 int DoHandshake(); |
| 134 int DoHandshakeComplete(int result); | 132 int DoHandshakeComplete(int result); |
| 135 int DoChannelIDLookup(); | 133 int DoChannelIDLookup(); |
| 136 int DoChannelIDLookupComplete(int result); | 134 int DoChannelIDLookupComplete(int result); |
| 137 int DoVerifyCert(int result); | 135 int DoVerifyCert(int result); |
| 138 int DoVerifyCertComplete(int result); | 136 int DoVerifyCertComplete(int result); |
| 139 void DoConnectCallback(int result); | 137 void DoConnectCallback(int result); |
| 140 void UpdateServerCert(); | 138 void UpdateServerCert(); |
| 141 void VerifyCT(); | 139 void VerifyCT(); |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 // pinning failure. It is a (somewhat) human-readable string. | 365 // pinning failure. It is a (somewhat) human-readable string. |
| 368 std::string pinning_failure_log_; | 366 std::string pinning_failure_log_; |
| 369 | 367 |
| 370 BoundNetLog net_log_; | 368 BoundNetLog net_log_; |
| 371 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 369 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
| 372 }; | 370 }; |
| 373 | 371 |
| 374 } // namespace net | 372 } // namespace net |
| 375 | 373 |
| 376 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 374 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| OLD | NEW |