OLD | NEW |
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_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 6 #define NET_HTTP_HTTP_PROXY_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/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "net/base/host_port_pair.h" | 15 #include "net/base/host_port_pair.h" |
16 #include "net/http/http_auth.h" | 16 #include "net/http/http_auth.h" |
17 #include "net/socket/client_socket_pool_base.h" | 17 #include "net/socket/client_socket_pool_base.h" |
18 #include "net/socket/client_socket_pool_histograms.h" | 18 #include "net/socket/client_socket_pool_histograms.h" |
19 #include "net/socket/client_socket_pool.h" | 19 #include "net/socket/client_socket_pool.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 class ClientSocketFactory; | |
24 class ConnectJobFactory; | |
25 class HostResolver; | 23 class HostResolver; |
26 class HttpAuthController; | |
27 class HttpNetworkSession; | 24 class HttpNetworkSession; |
28 class TCPClientSocketPool; | 25 class TCPClientSocketPool; |
29 class TCPSocketParams; | 26 class TCPSocketParams; |
30 | 27 |
31 class HttpProxySocketParams : public base::RefCounted<HttpProxySocketParams> { | 28 class HttpProxySocketParams : public base::RefCounted<HttpProxySocketParams> { |
32 public: | 29 public: |
33 HttpProxySocketParams(const scoped_refptr<TCPSocketParams>& proxy_server, | 30 HttpProxySocketParams(const scoped_refptr<TCPSocketParams>& proxy_server, |
34 const GURL& request_url, | 31 const GURL& request_url, |
35 const std::string& user_agent, | 32 const std::string& user_agent, |
36 HostPortPair endpoint, | 33 HostPortPair endpoint, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 198 |
202 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); | 199 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); |
203 }; | 200 }; |
204 | 201 |
205 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, | 202 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, |
206 HttpProxySocketParams); | 203 HttpProxySocketParams); |
207 | 204 |
208 } // namespace net | 205 } // namespace net |
209 | 206 |
210 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 207 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |