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

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

Issue 17471: Measure how often the users are encountering MD5... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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/connection_type_histograms.cc ('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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 int DoHandshakeReadComplete(int result); 56 int DoHandshakeReadComplete(int result);
57 int DoHandshakeWrite(); 57 int DoHandshakeWrite();
58 int DoHandshakeWriteComplete(int result); 58 int DoHandshakeWriteComplete(int result);
59 int DoPayloadRead(); 59 int DoPayloadRead();
60 int DoPayloadReadComplete(int result); 60 int DoPayloadReadComplete(int result);
61 int DoPayloadEncrypt(); 61 int DoPayloadEncrypt();
62 int DoPayloadWrite(); 62 int DoPayloadWrite();
63 int DoPayloadWriteComplete(int result); 63 int DoPayloadWriteComplete(int result);
64 64
65 int DidCompleteHandshake(); 65 int DidCompleteHandshake();
66 static void LogConnectionTypeMetrics(PCCERT_CHAIN_CONTEXT chain_context);
66 int VerifyServerCert(); 67 int VerifyServerCert();
67 68
68 CompletionCallbackImpl<SSLClientSocketWin> io_callback_; 69 CompletionCallbackImpl<SSLClientSocketWin> io_callback_;
69 scoped_ptr<ClientSocket> transport_; 70 scoped_ptr<ClientSocket> transport_;
70 std::string hostname_; 71 std::string hostname_;
71 SSLConfig ssl_config_; 72 SSLConfig ssl_config_;
72 73
73 CompletionCallback* user_callback_; 74 CompletionCallback* user_callback_;
74 75
75 // Used by both Read and Write functions. 76 // Used by both Read and Write functions.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 bool ignore_ok_result_; 132 bool ignore_ok_result_;
132 133
133 // True if the user has no client certificate. 134 // True if the user has no client certificate.
134 bool no_client_cert_; 135 bool no_client_cert_;
135 }; 136 };
136 137
137 } // namespace net 138 } // namespace net
138 139
139 #endif // NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ 140 #endif // NET_BASE_SSL_CLIENT_SOCKET_WIN_H_
140 141
OLDNEW
« no previous file with comments | « net/base/connection_type_histograms.cc ('k') | net/base/ssl_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698