Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: net/base/ssl_client_socket_win.h

Issue 118410: We don't handle certificate errors during SSL renegotiation.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/net_error_list.h ('k') | net/base/ssl_client_socket_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « net/base/net_error_list.h ('k') | net/base/ssl_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698