Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(857)

Side by Side Diff: net/socket/transport_client_socket_pool.cc

Issue 10026024: Attempting to re-land a small portion of this change... Simply add links from (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix willchan's nit Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/transport_client_socket_pool.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 const std::string& group_name, 442 const std::string& group_name,
443 StreamSocket* socket, 443 StreamSocket* socket,
444 int id) { 444 int id) {
445 base_.ReleaseSocket(group_name, socket, id); 445 base_.ReleaseSocket(group_name, socket, id);
446 } 446 }
447 447
448 void TransportClientSocketPool::Flush() { 448 void TransportClientSocketPool::Flush() {
449 base_.Flush(); 449 base_.Flush();
450 } 450 }
451 451
452 bool TransportClientSocketPool::IsStalled() const {
453 return base_.IsStalled();
454 }
455
452 void TransportClientSocketPool::CloseIdleSockets() { 456 void TransportClientSocketPool::CloseIdleSockets() {
453 base_.CloseIdleSockets(); 457 base_.CloseIdleSockets();
454 } 458 }
455 459
456 int TransportClientSocketPool::IdleSocketCount() const { 460 int TransportClientSocketPool::IdleSocketCount() const {
457 return base_.idle_socket_count(); 461 return base_.idle_socket_count();
458 } 462 }
459 463
460 int TransportClientSocketPool::IdleSocketCountInGroup( 464 int TransportClientSocketPool::IdleSocketCountInGroup(
461 const std::string& group_name) const { 465 const std::string& group_name) const {
462 return base_.IdleSocketCountInGroup(group_name); 466 return base_.IdleSocketCountInGroup(group_name);
463 } 467 }
464 468
465 LoadState TransportClientSocketPool::GetLoadState( 469 LoadState TransportClientSocketPool::GetLoadState(
466 const std::string& group_name, const ClientSocketHandle* handle) const { 470 const std::string& group_name, const ClientSocketHandle* handle) const {
467 return base_.GetLoadState(group_name, handle); 471 return base_.GetLoadState(group_name, handle);
468 } 472 }
469 473
474 void TransportClientSocketPool::AddLayeredPool(LayeredPool* layered_pool) {
475 base_.AddLayeredPool(layered_pool);
476 }
477
478 void TransportClientSocketPool::RemoveLayeredPool(LayeredPool* layered_pool) {
479 base_.RemoveLayeredPool(layered_pool);
480 }
481
470 DictionaryValue* TransportClientSocketPool::GetInfoAsValue( 482 DictionaryValue* TransportClientSocketPool::GetInfoAsValue(
471 const std::string& name, 483 const std::string& name,
472 const std::string& type, 484 const std::string& type,
473 bool include_nested_pools) const { 485 bool include_nested_pools) const {
474 return base_.GetInfoAsValue(name, type); 486 return base_.GetInfoAsValue(name, type);
475 } 487 }
476 488
477 base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const { 489 base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const {
478 return base_.ConnectionTimeout(); 490 return base_.ConnectionTimeout();
479 } 491 }
480 492
481 ClientSocketPoolHistograms* TransportClientSocketPool::histograms() const { 493 ClientSocketPoolHistograms* TransportClientSocketPool::histograms() const {
482 return base_.histograms(); 494 return base_.histograms();
483 } 495 }
484 496
485 } // namespace net 497 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_pool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698