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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 void OnHandshakeCompletion(); | 116 void OnHandshakeCompletion(); |
117 | 117 |
118 bool DoTransportIO(); | 118 bool DoTransportIO(); |
119 int DoHandshake(); | 119 int DoHandshake(); |
120 int DoChannelIDLookup(); | 120 int DoChannelIDLookup(); |
121 int DoChannelIDLookupComplete(int result); | 121 int DoChannelIDLookupComplete(int result); |
122 int DoVerifyCert(int result); | 122 int DoVerifyCert(int result); |
123 int DoVerifyCertComplete(int result); | 123 int DoVerifyCertComplete(int result); |
124 void DoConnectCallback(int result); | 124 void DoConnectCallback(int result); |
125 X509Certificate* UpdateServerCert(); | 125 void UpdateServerCert(); |
126 void VerifyCT(); | 126 void VerifyCT(); |
127 | 127 |
128 void OnHandshakeIOComplete(int result); | 128 void OnHandshakeIOComplete(int result); |
129 void OnSendComplete(int result); | 129 void OnSendComplete(int result); |
130 void OnRecvComplete(int result); | 130 void OnRecvComplete(int result); |
131 | 131 |
132 int DoHandshakeLoop(int last_io_result); | 132 int DoHandshakeLoop(int last_io_result); |
133 int DoReadLoop(int result); | 133 int DoReadLoop(int result); |
134 int DoWriteLoop(int result); | 134 int DoWriteLoop(int result); |
135 int DoPayloadRead(); | 135 int DoPayloadRead(); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 // pinning failure. It is a (somewhat) human-readable string. | 301 // pinning failure. It is a (somewhat) human-readable string. |
302 std::string pinning_failure_log_; | 302 std::string pinning_failure_log_; |
303 | 303 |
304 BoundNetLog net_log_; | 304 BoundNetLog net_log_; |
305 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 305 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
306 }; | 306 }; |
307 | 307 |
308 } // namespace net | 308 } // namespace net |
309 | 309 |
310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
OLD | NEW |