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

Unified Diff: chrome/browser/io_thread.cc

Issue 1138443003: Land Recent QUIC Changes until 05/13/2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error fixes Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/browser/io_thread_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 55767a73ccc42be11fb5aca1574bbc6f027d6d32..46d0e3e85bb2b3a2f26c65eb7ad8bf5862ce3640 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -1342,9 +1342,6 @@ void IOThread::ConfigureQuicGlobals(
ShouldEnableQuicPortSelection(command_line));
globals->quic_connection_options =
GetQuicConnectionOptions(command_line, quic_trial_params);
- if (ShouldEnableQuicPacing(command_line, quic_trial_params)) {
- globals->quic_connection_options.push_back(net::kPACE);
- }
}
size_t max_packet_length = GetQuicMaxPacketLength(command_line,
@@ -1439,20 +1436,6 @@ bool IOThread::ShouldEnableQuicPortSelection(
return false; // Default to disabling port selection on all channels.
}
-bool IOThread::ShouldEnableQuicPacing(
- const base::CommandLine& command_line,
- const VariationParameters& quic_trial_params) {
- if (command_line.HasSwitch(switches::kEnableQuicPacing))
- return true;
-
- if (command_line.HasSwitch(switches::kDisableQuicPacing))
- return false;
-
- return LowerCaseEqualsASCII(
- GetVariationParam(quic_trial_params, "enable_pacing"),
- "true");
-}
-
net::QuicTagVector IOThread::GetQuicConnectionOptions(
const base::CommandLine& command_line,
const VariationParameters& quic_trial_params) {
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/browser/io_thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698