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

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

Issue 288313003: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: implemented rch's comments Created 6 years, 7 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
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 db8b76a9710781047befc36efdc7bcc9769290bd..bd0d204155d654c5e7d91e1a708188d93a0d9890 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -290,16 +290,16 @@ TEST(QuicDispatcherFlowControlTest, NoNewVersion17ConnectionsIfFlagDisabled) {
// When flag is enabled, new connections should support QUIC_VERSION_17.
FLAGS_enable_quic_stream_flow_control_2 = true;
scoped_ptr<QuicConnection> connection_1(
- QuicDispatcherPeer::CreateQuicConnection(
- &dispatcher, kCID, client, server, kInitialFlowControlWindowForTest));
+ QuicDispatcherPeer::CreateQuicConnection(&dispatcher, kCID, client,
+ server));
EXPECT_EQ(QUIC_VERSION_17, connection_1->version());
// When flag is disabled, new connections should not support QUIC_VERSION_17.
FLAGS_enable_quic_stream_flow_control_2 = false;
scoped_ptr<QuicConnection> connection_2(
- QuicDispatcherPeer::CreateQuicConnection(
- &dispatcher, kCID, client, server, kInitialFlowControlWindowForTest));
+ QuicDispatcherPeer::CreateQuicConnection(&dispatcher, kCID, client,
+ server));
EXPECT_EQ(QUIC_VERSION_16, connection_2->version());
}

Powered by Google App Engine
This is Rietveld 408576698