Chromium Code Reviews| 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 JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_ | 5 #ifndef JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_ |
| 6 #define JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_ | 6 #define JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/socket/client_socket_factory.h" | 10 #include "net/socket/client_socket_factory.h" |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 XmppClientSocketFactory( | 23 XmppClientSocketFactory( |
| 24 net::ClientSocketFactory* client_socket_factory, | 24 net::ClientSocketFactory* client_socket_factory, |
| 25 bool use_fake_ssl_client_socket); | 25 bool use_fake_ssl_client_socket); |
| 26 | 26 |
| 27 virtual ~XmppClientSocketFactory(); | 27 virtual ~XmppClientSocketFactory(); |
| 28 | 28 |
| 29 // net::ClientSocketFactory implementation. | 29 // net::ClientSocketFactory implementation. |
| 30 virtual net::ClientSocket* CreateTCPClientSocket( | 30 virtual net::ClientSocket* CreateTCPClientSocket( |
| 31 const net::AddressList& addresses, net::NetLog* net_log, | 31 const net::AddressList& addresses, net::NetLog* net_log, |
| 32 const net::NetLog::Source& source); | 32 const net::NetLog::Source& source); |
| 33 virtual net::ClientSocket* CreateSCTPClientSocket( | |
|
Mike Belshe
2011/04/06 18:32:53
artifact of changing the ClientSocketFactory inter
| |
| 34 const net::AddressList& addresses, net::NetLog* net_log, | |
| 35 const net::NetLog::Source& source); | |
| 33 virtual net::SSLClientSocket* CreateSSLClientSocket( | 36 virtual net::SSLClientSocket* CreateSSLClientSocket( |
| 34 net::ClientSocketHandle* transport_socket, | 37 net::ClientSocketHandle* transport_socket, |
| 35 const net::HostPortPair& host_and_port, const net::SSLConfig& ssl_config, | 38 const net::HostPortPair& host_and_port, const net::SSLConfig& ssl_config, |
| 36 net::SSLHostInfo* ssl_host_info, net::CertVerifier* cert_verifier, | 39 net::SSLHostInfo* ssl_host_info, net::CertVerifier* cert_verifier, |
| 37 net::DnsCertProvenanceChecker* dns_cert_checker); | 40 net::DnsCertProvenanceChecker* dns_cert_checker); |
| 38 virtual void ClearSSLSessionCache(); | 41 virtual void ClearSSLSessionCache(); |
| 39 | 42 |
| 40 private: | 43 private: |
| 41 net::ClientSocketFactory* const client_socket_factory_; | 44 net::ClientSocketFactory* const client_socket_factory_; |
| 42 const bool use_fake_ssl_client_socket_; | 45 const bool use_fake_ssl_client_socket_; |
| 43 | 46 |
| 44 DISALLOW_COPY_AND_ASSIGN(XmppClientSocketFactory); | 47 DISALLOW_COPY_AND_ASSIGN(XmppClientSocketFactory); |
| 45 }; | 48 }; |
| 46 | 49 |
| 47 } // namespace notifier | 50 } // namespace notifier |
| 48 | 51 |
| 49 #endif // JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_ | 52 #endif // JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_ |
| OLD | NEW |