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

Unified Diff: jingle/notifier/base/xmpp_client_socket_factory.h

Issue 6833031: Changed the jingle network code in ChromeAsyncSocket to use the client socket pool. This also all... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Lint fix Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: jingle/notifier/base/xmpp_client_socket_factory.h
===================================================================
--- jingle/notifier/base/xmpp_client_socket_factory.h (revision 81429)
+++ jingle/notifier/base/xmpp_client_socket_factory.h (working copy)
@@ -1,49 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_
-#define JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_
-
-#include <string>
-
-#include "net/socket/client_socket_factory.h"
-
-namespace net {
-class DnsCertProvenanceChecker;
-class HostPortPair;
-class SSLHostInfo;
-}
-
-namespace notifier {
-
-class XmppClientSocketFactory : public net::ClientSocketFactory {
- public:
- // Does not take ownership of |client_socket_factory|.
- XmppClientSocketFactory(
- net::ClientSocketFactory* client_socket_factory,
- bool use_fake_ssl_client_socket);
-
- virtual ~XmppClientSocketFactory();
-
- // net::ClientSocketFactory implementation.
- virtual net::ClientSocket* CreateTransportClientSocket(
- const net::AddressList& addresses, net::NetLog* net_log,
- const net::NetLog::Source& source);
- virtual net::SSLClientSocket* CreateSSLClientSocket(
- net::ClientSocketHandle* transport_socket,
- const net::HostPortPair& host_and_port, const net::SSLConfig& ssl_config,
- net::SSLHostInfo* ssl_host_info, net::CertVerifier* cert_verifier,
- net::DnsCertProvenanceChecker* dns_cert_checker);
- virtual void ClearSSLSessionCache();
-
- private:
- net::ClientSocketFactory* const client_socket_factory_;
- const bool use_fake_ssl_client_socket_;
-
- DISALLOW_COPY_AND_ASSIGN(XmppClientSocketFactory);
-};
-
-} // namespace notifier
-
-#endif // JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698