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

Unified Diff: net/quic/crypto/quic_crypto_client_config_test.cc

Issue 333803007: Rather than passing initial_flow_control_window all the way down the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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_client_config.cc ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_client_config_test.cc
diff --git a/net/quic/crypto/quic_crypto_client_config_test.cc b/net/quic/crypto/quic_crypto_client_config_test.cc
index 75cf23970550f3dad27a2b1695a8f5d0e51fc24f..fdce91c1fc7a6566ebdbfd5500fee141b160e4f3 100644
--- a/net/quic/crypto/quic_crypto_client_config_test.cc
+++ b/net/quic/crypto/quic_crypto_client_config_test.cc
@@ -110,7 +110,6 @@ TEST(QuicCryptoClientConfigTest, FillClientHello) {
QuicCryptoClientConfig config;
QuicCryptoNegotiatedParameters params;
QuicConnectionId kConnectionId = 1234;
- uint32 kInitialFlowControlWindow = 5678;
string error_details;
MockRandom rand;
CryptoHandshakeMessage chlo;
@@ -118,7 +117,6 @@ TEST(QuicCryptoClientConfigTest, FillClientHello) {
config.FillClientHello(server_id,
kConnectionId,
QuicVersionMax(),
- kInitialFlowControlWindow,
&state,
QuicWallTime::Zero(),
&rand,
@@ -131,10 +129,6 @@ TEST(QuicCryptoClientConfigTest, FillClientHello) {
QuicTag cver;
EXPECT_EQ(QUIC_NO_ERROR, chlo.GetUint32(kVER, &cver));
EXPECT_EQ(QuicVersionToQuicTag(QuicVersionMax()), cver);
-
- QuicTag ifcw;
- EXPECT_EQ(QUIC_NO_ERROR, chlo.GetUint32(kIFCW, &ifcw));
- EXPECT_EQ(kInitialFlowControlWindow, ifcw);
}
TEST(QuicCryptoClientConfigTest, ProcessServerDowngradeAttack) {
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config.cc ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698