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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 214 |
215 void CloseIdleSockets() override; | 215 void CloseIdleSockets() override; |
216 | 216 |
217 int IdleSocketCount() const override; | 217 int IdleSocketCount() const override; |
218 | 218 |
219 int IdleSocketCountInGroup(const std::string& group_name) const override; | 219 int IdleSocketCountInGroup(const std::string& group_name) const override; |
220 | 220 |
221 LoadState GetLoadState(const std::string& group_name, | 221 LoadState GetLoadState(const std::string& group_name, |
222 const ClientSocketHandle* handle) const override; | 222 const ClientSocketHandle* handle) const override; |
223 | 223 |
224 base::DictionaryValue* GetInfoAsValue( | 224 scoped_ptr<base::DictionaryValue> GetInfoAsValue( |
225 const std::string& name, | 225 const std::string& name, |
226 const std::string& type, | 226 const std::string& type, |
227 bool include_nested_pools) const override; | 227 bool include_nested_pools) const override; |
228 | 228 |
229 base::TimeDelta ConnectionTimeout() const override; | 229 base::TimeDelta ConnectionTimeout() const override; |
230 | 230 |
231 // LowerLayeredPool implementation. | 231 // LowerLayeredPool implementation. |
232 bool IsStalled() const override; | 232 bool IsStalled() const override; |
233 | 233 |
234 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; | 234 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 TransportClientSocketPool* const transport_pool_; | 267 TransportClientSocketPool* const transport_pool_; |
268 SSLClientSocketPool* const ssl_pool_; | 268 SSLClientSocketPool* const ssl_pool_; |
269 PoolBase base_; | 269 PoolBase base_; |
270 | 270 |
271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); | 271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); |
272 }; | 272 }; |
273 | 273 |
274 } // namespace net | 274 } // namespace net |
275 | 275 |
276 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 276 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |