| Index: jingle/notifier/base/resolving_client_socket_factory.h
|
| ===================================================================
|
| --- jingle/notifier/base/resolving_client_socket_factory.h (revision 0)
|
| +++ jingle/notifier/base/resolving_client_socket_factory.h (revision 0)
|
| @@ -0,0 +1,37 @@
|
| +// 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_RESOLVING_CLIENT_SOCKET_FACTORY_H_
|
| +#define JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
|
| +
|
| +
|
| +namespace net {
|
| +class ClientSocket;
|
| +class ClientSocketHandle;
|
| +class HostPortPair;
|
| +class NetLog;
|
| +class SSLClientSocket;
|
| +}
|
| +
|
| +// TODO(sanjeevr): Move this to net/
|
| +
|
| +namespace notifier {
|
| +
|
| +// Interface for a ClientSocketFactory that creates ClientSockets that can
|
| +// resolve host names and tunnel through proxies.
|
| +class ResolvingClientSocketFactory {
|
| + public:
|
| + virtual ~ResolvingClientSocketFactory() { }
|
| + // Method to create a transport socket using a HostPortPair.
|
| + virtual net::ClientSocket* CreateTransportClientSocket(
|
| + const net::HostPortPair& host_and_port, net::NetLog* net_log) = 0;
|
| +
|
| + virtual net::SSLClientSocket* CreateSSLClientSocket(
|
| + net::ClientSocketHandle* transport_socket,
|
| + const net::HostPortPair& host_and_port) = 0;
|
| +};
|
| +
|
| +} // namespace notifier
|
| +
|
| +#endif // JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
|
|
|
| Property changes on: jingle\notifier\base\resolving_client_socket_factory.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|