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

Unified Diff: components/cronet/url_request_context_config_unittest.cc

Issue 1977303002: Revert of QUIC - enable "delay_tcp_race" parameter by default. This feature showed (patchset #3 id:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/url_request_context_config.cc ('k') | ios/chrome/browser/ios_chrome_io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/url_request_context_config_unittest.cc
diff --git a/components/cronet/url_request_context_config_unittest.cc b/components/cronet/url_request_context_config_unittest.cc
index cd114aff46e3e8f0014b5ec036508750758be077..c129a8fe236bd452eb4cd0de853c31a6bcb81af4 100644
--- a/components/cronet/url_request_context_config_unittest.cc
+++ b/components/cronet/url_request_context_config_unittest.cc
@@ -39,6 +39,7 @@ TEST(URLRequestContextConfigTest, SetQuicExperimentalOptions) {
"fake agent",
// JSON encoded experimental options.
"{\"QUIC\":{\"max_server_configs_stored_in_properties\":2,"
+ "\"delay_tcp_race\":true,"
"\"max_number_of_lossy_connections\":10,"
"\"prefer_aes\":true,"
"\"user_agent_id\":\"Custom QUIC UAID\","
@@ -80,6 +81,9 @@ TEST(URLRequestContextConfigTest, SetQuicExperimentalOptions) {
// Check max_server_configs_stored_in_properties.
EXPECT_EQ(2u, params->quic_max_server_configs_stored_in_properties);
+ // Check delay_tcp_race.
+ EXPECT_TRUE(params->quic_delay_tcp_race);
+
// Check prefer_aes.
EXPECT_TRUE(params->quic_prefer_aes);
« no previous file with comments | « components/cronet/url_request_context_config.cc ('k') | ios/chrome/browser/ios_chrome_io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698