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

Unified Diff: net/quic/quic_crypto_server_stream_test.cc

Issue 1785613005: Deprecate FLAG_require_strike_register_or_server_nonce (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115890504
Patch Set: Deleted flag definition Created 4 years, 9 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/crypto/quic_crypto_server_config.cc ('k') | net/quic/quic_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_server_stream_test.cc
diff --git a/net/quic/quic_crypto_server_stream_test.cc b/net/quic/quic_crypto_server_stream_test.cc
index 4b32c18dbc83f1b28a9f3f7c04afb64d89af211e..b116f64df28585e3ab942b39eb9dda225787545f 100644
--- a/net/quic/quic_crypto_server_stream_test.cc
+++ b/net/quic/quic_crypto_server_stream_test.cc
@@ -375,11 +375,10 @@ TEST_P(QuicCryptoServerStreamTest, ZeroRTT) {
server_stream());
}
- if (FLAGS_require_strike_register_or_server_nonce &&
- !AsyncStrikeRegisterVerification()) {
- EXPECT_EQ(2, client_stream()->num_sent_client_hellos());
- } else {
+ if (AsyncStrikeRegisterVerification()) {
EXPECT_EQ(1, client_stream()->num_sent_client_hellos());
+ } else {
+ EXPECT_EQ(2, client_stream()->num_sent_client_hellos());
}
}
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config.cc ('k') | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698