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

Unified Diff: net/tools/quic/quic_dispatcher_test.cc

Issue 2236463004: Rename QuicSupportedVersions to QuicAllSupportedVersions. Add QuicCurrentSupportedVersions which re… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129437595
Patch Set: update more files outside net/ Created 4 years, 4 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 | « net/tools/quic/quic_client_test.cc ('k') | net/tools/quic/quic_packet_printer_bin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher_test.cc
diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc
index ad4db93edfe9617cd3cbf36c49791405c7909e6b..07df1e6830971a8b8d0c5a2ec7bb0a93bdfba742 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -162,7 +162,7 @@ class QuicDispatcherTest : public ::testing::Test {
QuicDispatcherTest()
: helper_(&eps_, QuicAllocator::BUFFER_POOL),
alarm_factory_(&eps_),
- version_manager_(QuicSupportedVersions()),
+ version_manager_(AllSupportedVersions()),
crypto_config_(QuicCryptoServerConfig::TESTING,
QuicRandom::GetInstance(),
CryptoTestUtils::ProofSourceForTesting()),
@@ -227,8 +227,8 @@ class QuicDispatcherTest : public ::testing::Test {
QuicPathId path_id,
QuicPacketNumber packet_number) {
ProcessPacket(client_address, connection_id, has_version_flag,
- QuicSupportedVersions().front(), data, connection_id_length,
- packet_number_length, packet_number);
+ CurrentSupportedVersions().front(), data,
+ connection_id_length, packet_number_length, packet_number);
}
// Processes a packet.
@@ -1090,7 +1090,7 @@ class BufferedPacketStoreTest
QuicDispatcherTest::SetUp();
clock_ = QuicDispatcherPeer::GetHelper(dispatcher_.get())->GetClock();
- QuicVersion version = QuicSupportedVersions().front();
+ QuicVersion version = AllSupportedVersions().front();
CryptoHandshakeMessage chlo = CryptoTestUtils::GenerateDefaultInchoateCHLO(
clock_, version, &crypto_config_);
chlo.SetVector(net::kCOPT, net::QuicTagVector{net::kSREJ});
« no previous file with comments | « net/tools/quic/quic_client_test.cc ('k') | net/tools/quic/quic_packet_printer_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698