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

Side by Side Diff: net/socket/client_socket_factory.h

Issue 6487012: Clear the SSL Client Auth cache when a new SSL Client Certificate is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CLIENT_SOCKET_FACTORY_H_ 5 #ifndef NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
6 #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ 6 #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual SSLClientSocket* CreateSSLClientSocket( 57 virtual SSLClientSocket* CreateSSLClientSocket(
58 ClientSocket* transport_socket, 58 ClientSocket* transport_socket,
59 const HostPortPair& host_and_port, 59 const HostPortPair& host_and_port,
60 const SSLConfig& ssl_config, 60 const SSLConfig& ssl_config,
61 SSLHostInfo* ssl_host_info, 61 SSLHostInfo* ssl_host_info,
62 CertVerifier* cert_verifier); 62 CertVerifier* cert_verifier);
63 63
64 // Returns the default ClientSocketFactory. 64 // Returns the default ClientSocketFactory.
65 static ClientSocketFactory* GetDefaultFactory(); 65 static ClientSocketFactory* GetDefaultFactory();
66 66
67 // Instructs the default ClientSocketFactory to use |factory| to create 67 // Instructs the default ClientSocketFactory to use the system SSL
68 // SSLClientSocket objects. 68 // libraries.
69 static void SetSSLClientSocketFactory(SSLClientSocketFactory factory); 69 static void UseSystemSSL();
wtc 2011/02/23 00:38:38 With this change, the SSLClientSocketFactory type
70 }; 70 };
71 71
72 } // namespace net 72 } // namespace net
73 73
74 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ 74 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698