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

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

Issue 10817013: Move ChromeAsyncSocket to jingle/glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
diff --git a/jingle/notifier/base/xmpp_client_socket_factory.h b/jingle/notifier/base/xmpp_client_socket_factory.h
deleted file mode 100644
index 1d22e44ec9a506a43bb97307cebf98557486fa4e..0000000000000000000000000000000000000000
--- a/jingle/notifier/base/xmpp_client_socket_factory.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2011 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 "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "jingle/notifier/base/resolving_client_socket_factory.h"
-#include "net/base/ssl_config_service.h"
-
-namespace net {
-class ClientSocketFactory;
-class ClientSocketHandle;
-class HostPortPair;
-class SSLClientSocket;
-class StreamSocket;
-class URLRequestContextGetter;
-}
-
-namespace notifier {
-
-class XmppClientSocketFactory : public ResolvingClientSocketFactory {
- public:
- // Does not take ownership of |client_socket_factory|.
- XmppClientSocketFactory(
- net::ClientSocketFactory* client_socket_factory,
- const net::SSLConfig& ssl_config,
- const scoped_refptr<net::URLRequestContextGetter>& request_context_getter,
- bool use_fake_ssl_client_socket);
-
- virtual ~XmppClientSocketFactory();
-
- // ResolvingClientSocketFactory implementation.
- virtual net::StreamSocket* CreateTransportClientSocket(
- const net::HostPortPair& host_and_port) OVERRIDE;
-
- virtual net::SSLClientSocket* CreateSSLClientSocket(
- net::ClientSocketHandle* transport_socket,
- const net::HostPortPair& host_and_port) OVERRIDE;
-
- private:
- net::ClientSocketFactory* const client_socket_factory_;
- scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
- const net::SSLConfig ssl_config_;
- const bool use_fake_ssl_client_socket_;
-
- DISALLOW_COPY_AND_ASSIGN(XmppClientSocketFactory);
-};
-
-} // namespace notifier
-
-#endif // JINGLE_NOTIFIER_BASE_XMPP_CLIENT_SOCKET_FACTORY_H_
« no previous file with comments | « jingle/notifier/base/resolving_client_socket_factory.h ('k') | jingle/notifier/base/xmpp_client_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698