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_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 225 |
226 void CloseIdleSockets() override; | 226 void CloseIdleSockets() override; |
227 | 227 |
228 int IdleSocketCount() const override; | 228 int IdleSocketCount() const override; |
229 | 229 |
230 int IdleSocketCountInGroup(const std::string& group_name) const override; | 230 int IdleSocketCountInGroup(const std::string& group_name) const override; |
231 | 231 |
232 LoadState GetLoadState(const std::string& group_name, | 232 LoadState GetLoadState(const std::string& group_name, |
233 const ClientSocketHandle* handle) const override; | 233 const ClientSocketHandle* handle) const override; |
234 | 234 |
235 base::DictionaryValue* GetInfoAsValue( | 235 scoped_ptr<base::DictionaryValue> GetInfoAsValue( |
236 const std::string& name, | 236 const std::string& name, |
237 const std::string& type, | 237 const std::string& type, |
238 bool include_nested_pools) const override; | 238 bool include_nested_pools) const override; |
239 | 239 |
240 base::TimeDelta ConnectionTimeout() const override; | 240 base::TimeDelta ConnectionTimeout() const override; |
241 | 241 |
242 // LowerLayeredPool implementation. | 242 // LowerLayeredPool implementation. |
243 bool IsStalled() const override; | 243 bool IsStalled() const override; |
244 | 244 |
245 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; | 245 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 HttpProxyClientSocketPool* const http_proxy_pool_; | 295 HttpProxyClientSocketPool* const http_proxy_pool_; |
296 PoolBase base_; | 296 PoolBase base_; |
297 const scoped_refptr<SSLConfigService> ssl_config_service_; | 297 const scoped_refptr<SSLConfigService> ssl_config_service_; |
298 | 298 |
299 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); | 299 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); |
300 }; | 300 }; |
301 | 301 |
302 } // namespace net | 302 } // namespace net |
303 | 303 |
304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |