OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "net/base/host_port_pair.h" | 15 #include "net/base/host_port_pair.h" |
16 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
17 #include "net/http/http_auth.h" | 17 #include "net/http/http_auth.h" |
18 #include "net/http/http_response_info.h" | 18 #include "net/http/http_response_info.h" |
19 #include "net/http/proxy_client_socket.h" | 19 #include "net/http/proxy_client_socket.h" |
20 #include "net/socket/client_socket_pool.h" | 20 #include "net/socket/client_socket_pool.h" |
21 #include "net/socket/client_socket_pool_base.h" | 21 #include "net/socket/client_socket_pool_base.h" |
22 #include "net/socket/ssl_client_socket.h" | 22 #include "net/socket/ssl_client_socket.h" |
23 #include "net/spdy/spdy_session.h" | 23 #include "net/spdy/spdy_session.h" |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 | 26 |
27 class HttpAuthCache; | 27 class HttpAuthCache; |
28 class HttpAuthHandlerFactory; | 28 class HttpAuthHandlerFactory; |
29 class HttpProxyClientSocketWrapper; | 29 class HttpProxyClientSocketWrapper; |
| 30 class NetLog; |
30 class ProxyDelegate; | 31 class ProxyDelegate; |
31 class SSLClientSocketPool; | 32 class SSLClientSocketPool; |
32 class SSLSocketParams; | 33 class SSLSocketParams; |
33 class SpdySessionPool; | 34 class SpdySessionPool; |
34 class SpdyStream; | 35 class SpdyStream; |
35 class TransportClientSocketPool; | 36 class TransportClientSocketPool; |
36 class TransportSocketParams; | 37 class TransportSocketParams; |
37 | 38 |
38 // HttpProxySocketParams only needs the socket params for one of the proxy | 39 // HttpProxySocketParams only needs the socket params for one of the proxy |
39 // types. The other param must be NULL. When using an HTTP Proxy, | 40 // types. The other param must be NULL. When using an HTTP Proxy, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 TransportClientSocketPool* const transport_pool_; | 226 TransportClientSocketPool* const transport_pool_; |
226 SSLClientSocketPool* const ssl_pool_; | 227 SSLClientSocketPool* const ssl_pool_; |
227 PoolBase base_; | 228 PoolBase base_; |
228 | 229 |
229 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); | 230 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); |
230 }; | 231 }; |
231 | 232 |
232 } // namespace net | 233 } // namespace net |
233 | 234 |
234 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 235 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |