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

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

Issue 981723008: Unwind the SSL connection holdback experiment and remove related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 fallback_addresses_.reset(); 445 fallback_addresses_.reset();
446 } 446 }
447 NotifyDelegateOfCompletion(result); // Deletes |this| 447 NotifyDelegateOfCompletion(result); // Deletes |this|
448 } 448 }
449 449
450 int TransportConnectJob::ConnectInternal() { 450 int TransportConnectJob::ConnectInternal() {
451 return helper_.DoConnectInternal(this); 451 return helper_.DoConnectInternal(this);
452 } 452 }
453 453
454 scoped_ptr<ConnectJob> 454 scoped_ptr<ConnectJob>
455 TransportClientSocketPool::TransportConnectJobFactory::NewConnectJob( 455 TransportClientSocketPool::TransportConnectJobFactory::NewConnectJob(
456 const std::string& group_name, 456 const std::string& group_name,
457 const PoolBase::Request& request, 457 const PoolBase::Request& request,
458 ConnectJob::Delegate* delegate) const { 458 ConnectJob::Delegate* delegate) const {
459 return scoped_ptr<ConnectJob>( 459 return scoped_ptr<ConnectJob>(
460 new TransportConnectJob(group_name, 460 new TransportConnectJob(group_name,
461 request.priority(), 461 request.priority(),
462 request.params(), 462 request.params(),
463 ConnectionTimeout(), 463 ConnectionTimeout(),
464 client_socket_factory_, 464 client_socket_factory_,
465 host_resolver_, 465 host_resolver_,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 HigherLayeredPool* higher_pool) { 595 HigherLayeredPool* higher_pool) {
596 base_.AddHigherLayeredPool(higher_pool); 596 base_.AddHigherLayeredPool(higher_pool);
597 } 597 }
598 598
599 void TransportClientSocketPool::RemoveHigherLayeredPool( 599 void TransportClientSocketPool::RemoveHigherLayeredPool(
600 HigherLayeredPool* higher_pool) { 600 HigherLayeredPool* higher_pool) {
601 base_.RemoveHigherLayeredPool(higher_pool); 601 base_.RemoveHigherLayeredPool(higher_pool);
602 } 602 }
603 603
604 } // namespace net 604 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698