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

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

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 8 years 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
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 <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
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
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
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_pool.h ('k') | net/socket/transport_client_socket_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698