| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "net/socket/ssl_client_socket_pool.h" | 5 #include "net/socket/ssl_client_socket_pool.h" |
| 6 | 6 |
| 7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
| 8 #include "net/http/http_proxy_client_socket.h" |
| 9 #include "net/http/http_proxy_client_socket_pool.h" |
| 8 #include "net/socket/client_socket_factory.h" | 10 #include "net/socket/client_socket_factory.h" |
| 9 #include "net/socket/client_socket_handle.h" | 11 #include "net/socket/client_socket_handle.h" |
| 12 #include "net/socket/socks_client_socket_pool.h" |
| 13 #include "net/socket/ssl_client_socket.h" |
| 14 #include "net/socket/tcp_client_socket_pool.h" |
| 10 | 15 |
| 11 namespace net { | 16 namespace net { |
| 12 | 17 |
| 13 SSLSocketParams::SSLSocketParams( | 18 SSLSocketParams::SSLSocketParams( |
| 14 const scoped_refptr<TCPSocketParams>& tcp_params, | 19 const scoped_refptr<TCPSocketParams>& tcp_params, |
| 15 const scoped_refptr<HttpProxySocketParams>& http_proxy_params, | 20 const scoped_refptr<HttpProxySocketParams>& http_proxy_params, |
| 16 const scoped_refptr<SOCKSSocketParams>& socks_params, | 21 const scoped_refptr<SOCKSSocketParams>& socks_params, |
| 17 ProxyServer::Scheme proxy, | 22 ProxyServer::Scheme proxy, |
| 18 const std::string& hostname, | 23 const std::string& hostname, |
| 19 const SSLConfig& ssl_config, | 24 const SSLConfig& ssl_config, |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 const std::string& group_name) const { | 424 const std::string& group_name) const { |
| 420 return base_.IdleSocketCountInGroup(group_name); | 425 return base_.IdleSocketCountInGroup(group_name); |
| 421 } | 426 } |
| 422 | 427 |
| 423 LoadState SSLClientSocketPool::GetLoadState( | 428 LoadState SSLClientSocketPool::GetLoadState( |
| 424 const std::string& group_name, const ClientSocketHandle* handle) const { | 429 const std::string& group_name, const ClientSocketHandle* handle) const { |
| 425 return base_.GetLoadState(group_name, handle); | 430 return base_.GetLoadState(group_name, handle); |
| 426 } | 431 } |
| 427 | 432 |
| 428 } // namespace net | 433 } // namespace net |
| OLD | NEW |