| 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 #include "jingle/notifier/base/xmpp_client_socket_factory.h" | 5 #include "jingle/notifier/base/xmpp_client_socket_factory.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "jingle/notifier/base/fake_ssl_client_socket.h" | 8 #include "jingle/notifier/base/fake_ssl_client_socket.h" |
| 9 | 9 |
| 10 namespace notifier { | 10 namespace notifier { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 const net::HostPortPair& host_and_port, | 35 const net::HostPortPair& host_and_port, |
| 36 const net::SSLConfig& ssl_config, | 36 const net::SSLConfig& ssl_config, |
| 37 net::SSLHostInfo* ssl_host_info, | 37 net::SSLHostInfo* ssl_host_info, |
| 38 net::CertVerifier* cert_verifier, | 38 net::CertVerifier* cert_verifier, |
| 39 net::DnsCertProvenanceChecker* dns_cert_checker) { | 39 net::DnsCertProvenanceChecker* dns_cert_checker) { |
| 40 return client_socket_factory_->CreateSSLClientSocket( | 40 return client_socket_factory_->CreateSSLClientSocket( |
| 41 transport_socket, host_and_port, ssl_config, ssl_host_info, | 41 transport_socket, host_and_port, ssl_config, ssl_host_info, |
| 42 cert_verifier, dns_cert_checker); | 42 cert_verifier, dns_cert_checker); |
| 43 } | 43 } |
| 44 | 44 |
| 45 void XmppClientSocketFactory::ClearSSLSessionCache() { |
| 46 client_socket_factory_->ClearSSLSessionCache(); |
| 47 } |
| 48 |
| 45 } // namespace | 49 } // namespace |
| OLD | NEW |