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

Side by Side Diff: chrome/browser/io_thread.cc

Issue 2009403002: QUIC - added disable_delay_tcp_race field trial param to disable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/io_thread_unittest.cc » ('j') | 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 "chrome/browser/io_thread.h" 5 #include "chrome/browser/io_thread.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 "receive_buffer_size"), 1444 "receive_buffer_size"),
1445 &value)) { 1445 &value)) {
1446 return value; 1446 return value;
1447 } 1447 }
1448 return 0; 1448 return 0;
1449 } 1449 }
1450 1450
1451 // static 1451 // static
1452 bool IOThread::NetworkSessionConfigurator::ShouldQuicDelayTcpRace( 1452 bool IOThread::NetworkSessionConfigurator::ShouldQuicDelayTcpRace(
1453 const VariationParameters& quic_trial_params) { 1453 const VariationParameters& quic_trial_params) {
1454 return base::LowerCaseEqualsASCII( 1454 return !base::LowerCaseEqualsASCII(
1455 GetVariationParam(quic_trial_params, "delay_tcp_race"), "true"); 1455 GetVariationParam(quic_trial_params, "disable_delay_tcp_race"), "true");
1456 } 1456 }
1457 1457
1458 // static 1458 // static
1459 bool IOThread::NetworkSessionConfigurator::ShouldQuicCloseSessionsOnIpChange( 1459 bool IOThread::NetworkSessionConfigurator::ShouldQuicCloseSessionsOnIpChange(
1460 const VariationParameters& quic_trial_params) { 1460 const VariationParameters& quic_trial_params) {
1461 return base::LowerCaseEqualsASCII( 1461 return base::LowerCaseEqualsASCII(
1462 GetVariationParam(quic_trial_params, "close_sessions_on_ip_change"), 1462 GetVariationParam(quic_trial_params, "close_sessions_on_ip_change"),
1463 "true"); 1463 "true");
1464 } 1464 }
1465 1465
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the 1707 // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the
1708 // system URLRequestContext too. There's no reason this should be tied to a 1708 // system URLRequestContext too. There's no reason this should be tied to a
1709 // profile. 1709 // profile.
1710 return context; 1710 return context;
1711 } 1711 }
1712 1712
1713 const metrics::UpdateUsagePrefCallbackType& 1713 const metrics::UpdateUsagePrefCallbackType&
1714 IOThread::GetMetricsDataUseForwarder() { 1714 IOThread::GetMetricsDataUseForwarder() {
1715 return metrics_data_use_forwarder_; 1715 return metrics_data_use_forwarder_;
1716 } 1716 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698