| 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/tcp_client_socket_pool.h" | 5 #include "net/socket/tcp_client_socket_pool.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/histogram.h" |
| 8 #include "base/logging.h" | 9 #include "base/logging.h" |
| 9 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 11 #include "base/time.h" | 12 #include "base/time.h" |
| 12 #include "net/base/net_log.h" | 13 #include "net/base/net_log.h" |
| 13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 14 #include "net/socket/client_socket_factory.h" | 15 #include "net/socket/client_socket_factory.h" |
| 15 #include "net/socket/client_socket_handle.h" | 16 #include "net/socket/client_socket_handle.h" |
| 16 #include "net/socket/client_socket_pool_base.h" | 17 #include "net/socket/client_socket_pool_base.h" |
| 17 #include "net/socket/tcp_client_socket.h" | 18 #include "net/socket/tcp_client_socket.h" |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 const std::string& group_name) const { | 256 const std::string& group_name) const { |
| 256 return base_.IdleSocketCountInGroup(group_name); | 257 return base_.IdleSocketCountInGroup(group_name); |
| 257 } | 258 } |
| 258 | 259 |
| 259 LoadState TCPClientSocketPool::GetLoadState( | 260 LoadState TCPClientSocketPool::GetLoadState( |
| 260 const std::string& group_name, const ClientSocketHandle* handle) const { | 261 const std::string& group_name, const ClientSocketHandle* handle) const { |
| 261 return base_.GetLoadState(group_name, handle); | 262 return base_.GetLoadState(group_name, handle); |
| 262 } | 263 } |
| 263 | 264 |
| 264 } // namespace net | 265 } // namespace net |
| OLD | NEW |