| 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 // ClientSocketPoolManager manages access to all ClientSocketPools. It's a | 5 // ClientSocketPoolManager manages access to all ClientSocketPools. It's a |
| 6 // simple container for all of them. Most importantly, it handles the lifetime | 6 // simple container for all of them. Most importantly, it handles the lifetime |
| 7 // and destruction order properly. | 7 // and destruction order properly. |
| 8 | 8 |
| 9 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 9 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
| 10 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 10 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
| 11 | 11 |
| 12 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
| 13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 14 #include "net/base/request_priority.h" | 14 #include "net/base/request_priority.h" |
| 15 #include "net/http/http_network_session.h" | 15 #include "net/http/http_network_session.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class Value; | 20 class Value; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| 24 | 24 |
| 25 typedef base::Callback<int(const AddressList&, const BoundNetLog& net_log)> | 25 typedef base::Callback<int(const AddressList&, const BoundNetLog& net_log)> |
| 26 OnHostResolutionCallback; | 26 OnHostResolutionCallback; |
| 27 | 27 |
| 28 class BoundNetLog; | 28 class BoundNetLog; |
| 29 class ClientSocketHandle; | 29 class ClientSocketHandle; |
| 30 class HostPortPair; | 30 class HostPortPair; |
| 31 class HttpNetworkSession; | 31 class HttpNetworkSession; |
| 32 class HttpProxyClientSocketPool; | 32 class HttpProxyClientSocketPool; |
| 33 class HttpRequestHeaders; | 33 class HttpRequestHeaders; |
| 34 class ProxyInfo; | 34 class ProxyInfo; |
| 35 class TransportClientSocketPool; | 35 class TransportClientSocketPool; |
| 36 class SOCKSClientSocketPool; | 36 class SOCKSClientSocketPool; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 bool want_spdy_over_npn, | 175 bool want_spdy_over_npn, |
| 176 const SSLConfig& ssl_config_for_origin, | 176 const SSLConfig& ssl_config_for_origin, |
| 177 const SSLConfig& ssl_config_for_proxy, | 177 const SSLConfig& ssl_config_for_proxy, |
| 178 PrivacyMode privacy_mode, | 178 PrivacyMode privacy_mode, |
| 179 const BoundNetLog& net_log, | 179 const BoundNetLog& net_log, |
| 180 int num_preconnect_streams); | 180 int num_preconnect_streams); |
| 181 | 181 |
| 182 } // namespace net | 182 } // namespace net |
| 183 | 183 |
| 184 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 184 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
| OLD | NEW |