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/logging.h" | 10 #include "base/logging.h" |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 base_.CancelRequest(group_name, handle); | 412 base_.CancelRequest(group_name, handle); |
413 } | 413 } |
414 | 414 |
415 void TransportClientSocketPool::ReleaseSocket( | 415 void TransportClientSocketPool::ReleaseSocket( |
416 const std::string& group_name, | 416 const std::string& group_name, |
417 StreamSocket* socket, | 417 StreamSocket* socket, |
418 int id) { | 418 int id) { |
419 base_.ReleaseSocket(group_name, socket, id); | 419 base_.ReleaseSocket(group_name, socket, id); |
420 } | 420 } |
421 | 421 |
422 void TransportClientSocketPool::Flush() { | 422 void TransportClientSocketPool::FlushWithError(int error) { |
423 base_.Flush(); | 423 base_.FlushWithError(error); |
424 } | 424 } |
425 | 425 |
426 bool TransportClientSocketPool::IsStalled() const { | 426 bool TransportClientSocketPool::IsStalled() const { |
427 return base_.IsStalled(); | 427 return base_.IsStalled(); |
428 } | 428 } |
429 | 429 |
430 void TransportClientSocketPool::CloseIdleSockets() { | 430 void TransportClientSocketPool::CloseIdleSockets() { |
431 base_.CloseIdleSockets(); | 431 base_.CloseIdleSockets(); |
432 } | 432 } |
433 | 433 |
(...skipping 28 matching lines...) Expand all Loading... |
462 | 462 |
463 base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const { | 463 base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const { |
464 return base_.ConnectionTimeout(); | 464 return base_.ConnectionTimeout(); |
465 } | 465 } |
466 | 466 |
467 ClientSocketPoolHistograms* TransportClientSocketPool::histograms() const { | 467 ClientSocketPoolHistograms* TransportClientSocketPool::histograms() const { |
468 return base_.histograms(); | 468 return base_.histograms(); |
469 } | 469 } |
470 | 470 |
471 } // namespace net | 471 } // namespace net |
OLD | NEW |