| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BASE_SSL_CLIENT_SOCKET_WIN_H_ | 5 #ifndef NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ |
| 6 #define NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ | 6 #define NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ |
| 7 | 7 |
| 8 #define SECURITY_WIN32 // Needs to be defined before including security.h | 8 #define SECURITY_WIN32 // Needs to be defined before including security.h |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 int DoVerifyCert(); | 59 int DoVerifyCert(); |
| 60 int DoVerifyCertComplete(int result); | 60 int DoVerifyCertComplete(int result); |
| 61 int DoPayloadRead(); | 61 int DoPayloadRead(); |
| 62 int DoPayloadReadComplete(int result); | 62 int DoPayloadReadComplete(int result); |
| 63 int DoPayloadEncrypt(); | 63 int DoPayloadEncrypt(); |
| 64 int DoPayloadWrite(); | 64 int DoPayloadWrite(); |
| 65 int DoPayloadWriteComplete(int result); | 65 int DoPayloadWriteComplete(int result); |
| 66 | 66 |
| 67 int DidCallInitializeSecurityContext(); | 67 int DidCallInitializeSecurityContext(); |
| 68 int DidCompleteHandshake(); | 68 int DidCompleteHandshake(); |
| 69 void DidCompleteRenegotiation(int result); |
| 69 void LogConnectionTypeMetrics() const; | 70 void LogConnectionTypeMetrics() const; |
| 70 void SetNextStateForRead(); | 71 void SetNextStateForRead(); |
| 71 void FreeSendBuffer(); | 72 void FreeSendBuffer(); |
| 72 | 73 |
| 73 CompletionCallbackImpl<SSLClientSocketWin> io_callback_; | 74 CompletionCallbackImpl<SSLClientSocketWin> io_callback_; |
| 74 scoped_ptr<ClientSocket> transport_; | 75 scoped_ptr<ClientSocket> transport_; |
| 75 std::string hostname_; | 76 std::string hostname_; |
| 76 SSLConfig ssl_config_; | 77 SSLConfig ssl_config_; |
| 77 | 78 |
| 78 CompletionCallback* user_callback_; | 79 CompletionCallback* user_callback_; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // True if the user has no client certificate. | 150 // True if the user has no client certificate. |
| 150 bool no_client_cert_; | 151 bool no_client_cert_; |
| 151 | 152 |
| 152 // Renegotiation is in progress. | 153 // Renegotiation is in progress. |
| 153 bool renegotiating_; | 154 bool renegotiating_; |
| 154 }; | 155 }; |
| 155 | 156 |
| 156 } // namespace net | 157 } // namespace net |
| 157 | 158 |
| 158 #endif // NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ | 159 #endif // NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ |
| OLD | NEW |