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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 } | 557 } |
558 | 558 |
559 void TransportClientSocketPool::FlushWithError(int error) { | 559 void TransportClientSocketPool::FlushWithError(int error) { |
560 base_.FlushWithError(error); | 560 base_.FlushWithError(error); |
561 } | 561 } |
562 | 562 |
563 void TransportClientSocketPool::CloseIdleSockets() { | 563 void TransportClientSocketPool::CloseIdleSockets() { |
564 base_.CloseIdleSockets(); | 564 base_.CloseIdleSockets(); |
565 } | 565 } |
566 | 566 |
| 567 void TransportClientSocketPool::CloseIdleSocketsInGroup( |
| 568 const std::string& group_name) { |
| 569 base_.CloseIdleSocketsInGroup(group_name); |
| 570 } |
| 571 |
567 int TransportClientSocketPool::IdleSocketCount() const { | 572 int TransportClientSocketPool::IdleSocketCount() const { |
568 return base_.idle_socket_count(); | 573 return base_.idle_socket_count(); |
569 } | 574 } |
570 | 575 |
571 int TransportClientSocketPool::IdleSocketCountInGroup( | 576 int TransportClientSocketPool::IdleSocketCountInGroup( |
572 const std::string& group_name) const { | 577 const std::string& group_name) const { |
573 return base_.IdleSocketCountInGroup(group_name); | 578 return base_.IdleSocketCountInGroup(group_name); |
574 } | 579 } |
575 | 580 |
576 LoadState TransportClientSocketPool::GetLoadState( | 581 LoadState TransportClientSocketPool::GetLoadState( |
(...skipping 20 matching lines...) Expand all Loading... |
597 HigherLayeredPool* higher_pool) { | 602 HigherLayeredPool* higher_pool) { |
598 base_.AddHigherLayeredPool(higher_pool); | 603 base_.AddHigherLayeredPool(higher_pool); |
599 } | 604 } |
600 | 605 |
601 void TransportClientSocketPool::RemoveHigherLayeredPool( | 606 void TransportClientSocketPool::RemoveHigherLayeredPool( |
602 HigherLayeredPool* higher_pool) { | 607 HigherLayeredPool* higher_pool) { |
603 base_.RemoveHigherLayeredPool(higher_pool); | 608 base_.RemoveHigherLayeredPool(higher_pool); |
604 } | 609 } |
605 | 610 |
606 } // namespace net | 611 } // namespace net |
OLD | NEW |