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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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_ |
OLD | NEW |