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

Side by Side Diff: jingle/notifier/base/resolving_client_socket_factory.h

Issue 8511045: Cleanup: Remove unneeded forward declarations in base, dbug, gpu, ipc, jingle, and media. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « ipc/ipc_sync_message_filter.h ('k') | jingle/notifier/base/xmpp_client_socket_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_RESOLVING_CLIENT_SOCKET_FACTORY_H_ 5 #ifndef JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
6 #define JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_ 6 #define JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
7 7
8 8
9 namespace net { 9 namespace net {
10 class ClientSocketHandle; 10 class ClientSocketHandle;
11 class HostPortPair; 11 class HostPortPair;
12 class NetLog;
13 class SSLClientSocket; 12 class SSLClientSocket;
14 class StreamSocket; 13 class StreamSocket;
15 } 14 }
16 15
17 // TODO(sanjeevr): Move this to net/ 16 // TODO(sanjeevr): Move this to net/
18 17
19 namespace notifier { 18 namespace notifier {
20 19
21 // Interface for a ClientSocketFactory that creates ClientSockets that can 20 // Interface for a ClientSocketFactory that creates ClientSockets that can
22 // resolve host names and tunnel through proxies. 21 // resolve host names and tunnel through proxies.
23 class ResolvingClientSocketFactory { 22 class ResolvingClientSocketFactory {
24 public: 23 public:
25 virtual ~ResolvingClientSocketFactory() { } 24 virtual ~ResolvingClientSocketFactory() { }
26 // Method to create a transport socket using a HostPortPair. 25 // Method to create a transport socket using a HostPortPair.
27 virtual net::StreamSocket* CreateTransportClientSocket( 26 virtual net::StreamSocket* CreateTransportClientSocket(
28 const net::HostPortPair& host_and_port) = 0; 27 const net::HostPortPair& host_and_port) = 0;
29 28
30 virtual net::SSLClientSocket* CreateSSLClientSocket( 29 virtual net::SSLClientSocket* CreateSSLClientSocket(
31 net::ClientSocketHandle* transport_socket, 30 net::ClientSocketHandle* transport_socket,
32 const net::HostPortPair& host_and_port) = 0; 31 const net::HostPortPair& host_and_port) = 0;
33 }; 32 };
34 33
35 } // namespace notifier 34 } // namespace notifier
36 35
37 #endif // JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_ 36 #endif // JINGLE_NOTIFIER_BASE_RESOLVING_CLIENT_SOCKET_FACTORY_H_
OLDNEW
« no previous file with comments | « ipc/ipc_sync_message_filter.h ('k') | jingle/notifier/base/xmpp_client_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698