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

Side by Side Diff: net/socket/socks_client_socket_pool.h

Issue 3125003: Remove a bunch of extra includes. (Closed)
Patch Set: Created 10 years, 4 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
« no previous file with comments | « net/http/http_proxy_client_socket_pool.cc ('k') | net/socket/socks_client_socket_pool.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "net/base/host_resolver.h" 17 #include "net/base/host_resolver.h"
18 #include "net/proxy/proxy_server.h"
19 #include "net/socket/client_socket_pool_base.h" 18 #include "net/socket/client_socket_pool_base.h"
20 #include "net/socket/client_socket_pool_histograms.h" 19 #include "net/socket/client_socket_pool_histograms.h"
21 #include "net/socket/client_socket_pool.h" 20 #include "net/socket/client_socket_pool.h"
22 #include "net/socket/tcp_client_socket_pool.h"
23 21
24 namespace net { 22 namespace net {
25 23
26 class ClientSocketFactory; 24 class ClientSocketFactory;
27 class ConnectJobFactory; 25 class ConnectJobFactory;
26 class TCPClientSocketPool;
27 class TCPSocketParams;
28 28
29 class SOCKSSocketParams : public base::RefCounted<SOCKSSocketParams> { 29 class SOCKSSocketParams : public base::RefCounted<SOCKSSocketParams> {
30 public: 30 public:
31 SOCKSSocketParams(const scoped_refptr<TCPSocketParams>& proxy_server, 31 SOCKSSocketParams(const scoped_refptr<TCPSocketParams>& proxy_server,
32 bool socks_v5, const HostPortPair& host_port_pair, 32 bool socks_v5, const HostPortPair& host_port_pair,
33 RequestPriority priority, const GURL& referrer); 33 RequestPriority priority, const GURL& referrer);
34 34
35 const scoped_refptr<TCPSocketParams>& tcp_params() const { 35 const scoped_refptr<TCPSocketParams>& tcp_params() const {
36 return tcp_params_; 36 return tcp_params_;
37 } 37 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 PoolBase base_; 185 PoolBase base_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); 187 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool);
188 }; 188 };
189 189
190 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams); 190 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams);
191 191
192 } // namespace net 192 } // namespace net
193 193
194 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 194 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool.cc ('k') | net/socket/socks_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698