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

Unified Diff: net/quic/test_tools/crypto_test_utils.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/quic/core/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/crypto_test_utils_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/crypto_test_utils.cc
diff --git a/net/quic/test_tools/crypto_test_utils.cc b/net/quic/test_tools/crypto_test_utils.cc
index 475aec466c44cf34f228be87ba46dc3acc7ed65b..8b0cf604cae7cb3aea172282a16ed560b68d2c76 100644
--- a/net/quic/test_tools/crypto_test_utils.cc
+++ b/net/quic/test_tools/crypto_test_utils.cc
@@ -300,7 +300,7 @@ class FullChloGenerator : public ValidateClientHelloResultCallback {
CryptoHandshakeMessage rej;
crypto_config_->ProcessClientHello(
result, /*reject_only=*/false, /*connection_id=*/1, server_ip_,
- client_addr_, QuicSupportedVersions().front(), QuicSupportedVersions(),
+ client_addr_, AllSupportedVersions().front(), AllSupportedVersions(),
/*use_stateless_rejects=*/true, /*server_designated_connection_id=*/0,
clock_, QuicRandom::GetInstance(), compressed_certs_cache_, &params,
proof_, /*total_framing_overhead=*/50, kDefaultMaxPacketSize, &rej,
@@ -525,9 +525,8 @@ uint64_t CryptoTestUtils::LeafCertHashForTesting() {
string cert_sct;
std::unique_ptr<ProofSource> proof_source(
CryptoTestUtils::ProofSourceForTesting());
- if (!proof_source->GetProof(server_ip, "", "",
- QuicSupportedVersions().front(), "", &chain, &sig,
- &cert_sct) ||
+ if (!proof_source->GetProof(server_ip, "", "", AllSupportedVersions().front(),
+ "", &chain, &sig, &cert_sct) ||
chain->certs.empty()) {
DCHECK(false) << "Proof generation failed";
return 0;
« no previous file with comments | « net/quic/core/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/crypto_test_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698