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 "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
10 #include "net/base/host_port_pair.h" | 10 #include "net/base/host_port_pair.h" |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 } | 472 } |
473 | 473 |
474 void SSLClientSocketPool::Flush() { | 474 void SSLClientSocketPool::Flush() { |
475 base_.Flush(); | 475 base_.Flush(); |
476 } | 476 } |
477 | 477 |
478 void SSLClientSocketPool::CloseIdleSockets() { | 478 void SSLClientSocketPool::CloseIdleSockets() { |
479 base_.CloseIdleSockets(); | 479 base_.CloseIdleSockets(); |
480 } | 480 } |
481 | 481 |
| 482 int SSLClientSocketPool::IdleSocketCount() const { |
| 483 return base_.idle_socket_count(); |
| 484 } |
| 485 |
482 int SSLClientSocketPool::IdleSocketCountInGroup( | 486 int SSLClientSocketPool::IdleSocketCountInGroup( |
483 const std::string& group_name) const { | 487 const std::string& group_name) const { |
484 return base_.IdleSocketCountInGroup(group_name); | 488 return base_.IdleSocketCountInGroup(group_name); |
485 } | 489 } |
486 | 490 |
487 LoadState SSLClientSocketPool::GetLoadState( | 491 LoadState SSLClientSocketPool::GetLoadState( |
488 const std::string& group_name, const ClientSocketHandle* handle) const { | 492 const std::string& group_name, const ClientSocketHandle* handle) const { |
489 return base_.GetLoadState(group_name, handle); | 493 return base_.GetLoadState(group_name, handle); |
490 } | 494 } |
491 | 495 |
(...skipping 21 matching lines...) Expand all Loading... |
513 if (http_proxy_pool_) { | 517 if (http_proxy_pool_) { |
514 list->Append(http_proxy_pool_->GetInfoAsValue("http_proxy_pool", | 518 list->Append(http_proxy_pool_->GetInfoAsValue("http_proxy_pool", |
515 "http_proxy_pool", | 519 "http_proxy_pool", |
516 true)); | 520 true)); |
517 } | 521 } |
518 dict->Set("nested_pools", list); | 522 dict->Set("nested_pools", list); |
519 } | 523 } |
520 return dict; | 524 return dict; |
521 } | 525 } |
522 | 526 |
| 527 base::TimeDelta SSLClientSocketPool::ConnectionTimeout() const { |
| 528 return base_.ConnectionTimeout(); |
| 529 } |
| 530 |
| 531 ClientSocketPoolHistograms* SSLClientSocketPool::histograms() const { |
| 532 return base_.histograms(); |
| 533 } |
| 534 |
523 } // namespace net | 535 } // namespace net |
OLD | NEW |