| 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 #include "net/socket/transport_client_socket_pool.h" | 5 #include "net/socket/transport_client_socket_pool.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 int TransportClientSocketPool::IdleSocketCountInGroup( | 602 int TransportClientSocketPool::IdleSocketCountInGroup( |
| 603 const std::string& group_name) const { | 603 const std::string& group_name) const { |
| 604 return base_.IdleSocketCountInGroup(group_name); | 604 return base_.IdleSocketCountInGroup(group_name); |
| 605 } | 605 } |
| 606 | 606 |
| 607 LoadState TransportClientSocketPool::GetLoadState( | 607 LoadState TransportClientSocketPool::GetLoadState( |
| 608 const std::string& group_name, const ClientSocketHandle* handle) const { | 608 const std::string& group_name, const ClientSocketHandle* handle) const { |
| 609 return base_.GetLoadState(group_name, handle); | 609 return base_.GetLoadState(group_name, handle); |
| 610 } | 610 } |
| 611 | 611 |
| 612 base::DictionaryValue* TransportClientSocketPool::GetInfoAsValue( | 612 scoped_ptr<base::DictionaryValue> TransportClientSocketPool::GetInfoAsValue( |
| 613 const std::string& name, | 613 const std::string& name, |
| 614 const std::string& type, | 614 const std::string& type, |
| 615 bool include_nested_pools) const { | 615 bool include_nested_pools) const { |
| 616 return base_.GetInfoAsValue(name, type); | 616 return base_.GetInfoAsValue(name, type); |
| 617 } | 617 } |
| 618 | 618 |
| 619 base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const { | 619 base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const { |
| 620 return base_.ConnectionTimeout(); | 620 return base_.ConnectionTimeout(); |
| 621 } | 621 } |
| 622 | 622 |
| 623 bool TransportClientSocketPool::IsStalled() const { | 623 bool TransportClientSocketPool::IsStalled() const { |
| 624 return base_.IsStalled(); | 624 return base_.IsStalled(); |
| 625 } | 625 } |
| 626 | 626 |
| 627 void TransportClientSocketPool::AddHigherLayeredPool( | 627 void TransportClientSocketPool::AddHigherLayeredPool( |
| 628 HigherLayeredPool* higher_pool) { | 628 HigherLayeredPool* higher_pool) { |
| 629 base_.AddHigherLayeredPool(higher_pool); | 629 base_.AddHigherLayeredPool(higher_pool); |
| 630 } | 630 } |
| 631 | 631 |
| 632 void TransportClientSocketPool::RemoveHigherLayeredPool( | 632 void TransportClientSocketPool::RemoveHigherLayeredPool( |
| 633 HigherLayeredPool* higher_pool) { | 633 HigherLayeredPool* higher_pool) { |
| 634 base_.RemoveHigherLayeredPool(higher_pool); | 634 base_.RemoveHigherLayeredPool(higher_pool); |
| 635 } | 635 } |
| 636 | 636 |
| 637 } // namespace net | 637 } // namespace net |
| OLD | NEW |