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; | |
18 | |
19 namespace base { | 17 namespace base { |
20 class Value; | 18 class Value; |
21 } | 19 } |
22 | 20 |
23 namespace net { | 21 namespace net { |
24 | 22 |
25 typedef base::Callback<int(const AddressList&, const NetLogWithSource& net_log)> | 23 typedef base::Callback<int(const AddressList&, const NetLogWithSource& net_log)> |
26 OnHostResolutionCallback; | 24 OnHostResolutionCallback; |
27 | 25 |
28 class ClientSocketHandle; | 26 class ClientSocketHandle; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 bool expect_spdy, | 180 bool expect_spdy, |
183 const SSLConfig& ssl_config_for_origin, | 181 const SSLConfig& ssl_config_for_origin, |
184 const SSLConfig& ssl_config_for_proxy, | 182 const SSLConfig& ssl_config_for_proxy, |
185 PrivacyMode privacy_mode, | 183 PrivacyMode privacy_mode, |
186 const NetLogWithSource& net_log, | 184 const NetLogWithSource& net_log, |
187 int num_preconnect_streams); | 185 int num_preconnect_streams); |
188 | 186 |
189 } // namespace net | 187 } // namespace net |
190 | 188 |
191 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 189 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
OLD | NEW |