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

Side by Side Diff: jingle/notifier/base/resolving_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
6 #define JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
7
8
9 namespace net {
10 class ClientSocketHandle;
11 class HostPortPair;
12 class SSLClientSocket;
13 class StreamSocket;
14 }
15
16 // TODO(sanjeevr): Move this to net/
17
18 namespace notifier {
19
20 // Interface for a ClientSocketFactory that creates ClientSockets that can
21 // resolve host names and tunnel through proxies.
22 class ResolvingClientSocketFactory {
23 public:
24 virtual ~ResolvingClientSocketFactory() { }
25 // Method to create a transport socket using a HostPortPair.
26 virtual net::StreamSocket* CreateTransportClientSocket(
27 const net::HostPortPair& host_and_port) = 0;
28
29 virtual net::SSLClientSocket* CreateSSLClientSocket(
30 net::ClientSocketHandle* transport_socket,
31 const net::HostPortPair& host_and_port) = 0;
32 };
33
34 } // namespace notifier
35
36 #endif // JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/proxy_resolving_client_socket_unittest.cc ('k') | jingle/notifier/base/xmpp_client_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698