OLD | NEW |
---|---|
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 DnsCertProvenanceChecker* dns_cert_checker) = 0; | 45 DnsCertProvenanceChecker* dns_cert_checker) = 0; |
46 | 46 |
47 // Deprecated function (http://crbug.com/37810) that takes a ClientSocket. | 47 // Deprecated function (http://crbug.com/37810) that takes a ClientSocket. |
48 virtual SSLClientSocket* CreateSSLClientSocket( | 48 virtual SSLClientSocket* CreateSSLClientSocket( |
49 ClientSocket* transport_socket, | 49 ClientSocket* transport_socket, |
50 const HostPortPair& host_and_port, | 50 const HostPortPair& host_and_port, |
51 const SSLConfig& ssl_config, | 51 const SSLConfig& ssl_config, |
52 SSLHostInfo* ssl_host_info, | 52 SSLHostInfo* ssl_host_info, |
53 CertVerifier* cert_verifier); | 53 CertVerifier* cert_verifier); |
54 | 54 |
55 // Clears cache used for SSL session resumption. This is only implemented | |
56 // for the NSS SSL library, which is the default for Windows, Mac and Linux. | |
wtc
2011/02/24 01:00:14
I think we don't need to mention that this ClearSS
Ryan Hamilton
2011/02/24 22:38:46
Done.
| |
57 virtual void ClearSSLSessionCache(); | |
58 | |
55 // Returns the default ClientSocketFactory. | 59 // Returns the default ClientSocketFactory. |
56 static ClientSocketFactory* GetDefaultFactory(); | 60 static ClientSocketFactory* GetDefaultFactory(); |
57 | 61 |
58 // Instructs the default ClientSocketFactory to use the system SSL library. | 62 // Instructs the default ClientSocketFactory to use the system SSL library. |
59 static void UseSystemSSL(); | 63 static void UseSystemSSL(); |
60 }; | 64 }; |
61 | 65 |
62 } // namespace net | 66 } // namespace net |
63 | 67 |
64 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ | 68 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ |
OLD | NEW |