| 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 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 } | 563 } |
| 564 | 564 |
| 565 void TransportClientSocketPool::FlushWithError(int error) { | 565 void TransportClientSocketPool::FlushWithError(int error) { |
| 566 base_.FlushWithError(error); | 566 base_.FlushWithError(error); |
| 567 } | 567 } |
| 568 | 568 |
| 569 void TransportClientSocketPool::CloseIdleSockets() { | 569 void TransportClientSocketPool::CloseIdleSockets() { |
| 570 base_.CloseIdleSockets(); | 570 base_.CloseIdleSockets(); |
| 571 } | 571 } |
| 572 | 572 |
| 573 void TransportClientSocketPool::CloseIdleSocketsInGroup( |
| 574 const std::string& group_name) { |
| 575 base_.CloseIdleSocketsInGroup(group_name); |
| 576 } |
| 577 |
| 573 int TransportClientSocketPool::IdleSocketCount() const { | 578 int TransportClientSocketPool::IdleSocketCount() const { |
| 574 return base_.idle_socket_count(); | 579 return base_.idle_socket_count(); |
| 575 } | 580 } |
| 576 | 581 |
| 577 int TransportClientSocketPool::IdleSocketCountInGroup( | 582 int TransportClientSocketPool::IdleSocketCountInGroup( |
| 578 const std::string& group_name) const { | 583 const std::string& group_name) const { |
| 579 return base_.IdleSocketCountInGroup(group_name); | 584 return base_.IdleSocketCountInGroup(group_name); |
| 580 } | 585 } |
| 581 | 586 |
| 582 LoadState TransportClientSocketPool::GetLoadState( | 587 LoadState TransportClientSocketPool::GetLoadState( |
| (...skipping 20 matching lines...) Expand all Loading... |
| 603 HigherLayeredPool* higher_pool) { | 608 HigherLayeredPool* higher_pool) { |
| 604 base_.AddHigherLayeredPool(higher_pool); | 609 base_.AddHigherLayeredPool(higher_pool); |
| 605 } | 610 } |
| 606 | 611 |
| 607 void TransportClientSocketPool::RemoveHigherLayeredPool( | 612 void TransportClientSocketPool::RemoveHigherLayeredPool( |
| 608 HigherLayeredPool* higher_pool) { | 613 HigherLayeredPool* higher_pool) { |
| 609 base_.RemoveHigherLayeredPool(higher_pool); | 614 base_.RemoveHigherLayeredPool(higher_pool); |
| 610 } | 615 } |
| 611 | 616 |
| 612 } // namespace net | 617 } // namespace net |
| OLD | NEW |