OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/http/http_proxy_client_socket_pool.h" | 5 #include "net/http/http_proxy_client_socket_pool.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 base_.RequestSockets(group_name, *casted_params, num_sockets, net_log); | 418 base_.RequestSockets(group_name, *casted_params, num_sockets, net_log); |
419 } | 419 } |
420 | 420 |
421 void HttpProxyClientSocketPool::CancelRequest( | 421 void HttpProxyClientSocketPool::CancelRequest( |
422 const std::string& group_name, | 422 const std::string& group_name, |
423 ClientSocketHandle* handle) { | 423 ClientSocketHandle* handle) { |
424 base_.CancelRequest(group_name, handle); | 424 base_.CancelRequest(group_name, handle); |
425 } | 425 } |
426 | 426 |
427 void HttpProxyClientSocketPool::ReleaseSocket(const std::string& group_name, | 427 void HttpProxyClientSocketPool::ReleaseSocket(const std::string& group_name, |
428 ClientSocket* socket, int id) { | 428 StreamSocket* socket, int id) { |
429 base_.ReleaseSocket(group_name, socket, id); | 429 base_.ReleaseSocket(group_name, socket, id); |
430 } | 430 } |
431 | 431 |
432 void HttpProxyClientSocketPool::Flush() { | 432 void HttpProxyClientSocketPool::Flush() { |
433 base_.Flush(); | 433 base_.Flush(); |
434 } | 434 } |
435 | 435 |
436 void HttpProxyClientSocketPool::CloseIdleSockets() { | 436 void HttpProxyClientSocketPool::CloseIdleSockets() { |
437 base_.CloseIdleSockets(); | 437 base_.CloseIdleSockets(); |
438 } | 438 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 | 475 |
476 base::TimeDelta HttpProxyClientSocketPool::ConnectionTimeout() const { | 476 base::TimeDelta HttpProxyClientSocketPool::ConnectionTimeout() const { |
477 return base_.ConnectionTimeout(); | 477 return base_.ConnectionTimeout(); |
478 } | 478 } |
479 | 479 |
480 ClientSocketPoolHistograms* HttpProxyClientSocketPool::histograms() const { | 480 ClientSocketPoolHistograms* HttpProxyClientSocketPool::histograms() const { |
481 return base_.histograms(); | 481 return base_.histograms(); |
482 } | 482 } |
483 | 483 |
484 } // namespace net | 484 } // namespace net |
OLD | NEW |