commit | 1c76e038180f99e3a8c905c4bc6bc9b647823711 | [log] [tgz] |
---|---|---|
author | David Schinazi <[email protected]> | Sat Sep 19 00:54:14 2020 |
committer | Commit Bot <[email protected]> | Sat Sep 19 00:54:14 2020 |
tree | e9b730adc41ea459a75054beb49cbac2696d2ba7 | |
parent | 3a35d2fa3e0ceb90282f72f4983045bd531d2401 [diff] [blame] |
Remove kDefaultSupportedQuicVersion in favor of DefaultSupportedQuicVersions() This change cleans up the codebase and prepares us for using multiple versions in DefaultSupportedQuicVersions(). Our current plan is to eventually set it to (h3-29,h3-Q050) if our latest experiments in Stable go as planned. [email protected] Change-Id: Ie1f6b35b42df07f65a8d800616e8f34427282913 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419150 Commit-Queue: David Schinazi <[email protected]> Commit-Queue: Renjie Tang <[email protected]> Auto-Submit: David Schinazi <[email protected]> Reviewed-by: Renjie Tang <[email protected]> Cr-Commit-Position: refs/heads/master@{#808619}
diff --git a/components/cronet/url_request_context_config_unittest.cc b/components/cronet/url_request_context_config_unittest.cc index 14db62c..acbaa0fb 100644 --- a/components/cronet/url_request_context_config_unittest.cc +++ b/components/cronet/url_request_context_config_unittest.cc
@@ -448,9 +448,8 @@ net::ProxyConfigWithAnnotation::CreateDirect())); std::unique_ptr<net::URLRequestContext> context(builder.Build()); const net::QuicParams* quic_params = context->quic_context()->params(); - EXPECT_EQ(quic_params->supported_versions.size(), 1u); - EXPECT_EQ(quic_params->supported_versions[0], - net::kDefaultSupportedQuicVersion); + EXPECT_EQ(quic_params->supported_versions, + net::DefaultSupportedQuicVersions()); } TEST(URLRequestContextConfigTest, SetQuicServerMigrationOptions) {