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

Side by Side Diff: net/tools/quic/end_to_end_test.cc

Issue 324283004: Rename FLAGS_enable_quic_connection_flow_control to FLAGS_enable_quic_connection_flow_control_2, an… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minimizing diffs 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 unified diff | Download patch
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <string> 6 #include <string>
7 #include <sys/epoll.h> 7 #include <sys/epoll.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 client_supported_versions_ = GetParam().client_supported_versions; 167 client_supported_versions_ = GetParam().client_supported_versions;
168 server_supported_versions_ = GetParam().server_supported_versions; 168 server_supported_versions_ = GetParam().server_supported_versions;
169 negotiated_version_ = GetParam().negotiated_version; 169 negotiated_version_ = GetParam().negotiated_version;
170 FLAGS_enable_quic_pacing = GetParam().use_pacing; 170 FLAGS_enable_quic_pacing = GetParam().use_pacing;
171 171
172 if (negotiated_version_ >= QUIC_VERSION_17) { 172 if (negotiated_version_ >= QUIC_VERSION_17) {
173 FLAGS_enable_quic_stream_flow_control_2 = true; 173 FLAGS_enable_quic_stream_flow_control_2 = true;
174 } 174 }
175 if (negotiated_version_ >= QUIC_VERSION_19) { 175 if (negotiated_version_ >= QUIC_VERSION_19) {
176 FLAGS_enable_quic_connection_flow_control = true; 176 FLAGS_enable_quic_connection_flow_control_2 = true;
177 } 177 }
178 VLOG(1) << "Using Configuration: " << GetParam(); 178 VLOG(1) << "Using Configuration: " << GetParam();
179 179
180 client_config_.SetDefaults(); 180 client_config_.SetDefaults();
181 server_config_.SetDefaults(); 181 server_config_.SetDefaults();
182 182
183 // Use different flow control windows for client/server. 183 // Use different flow control windows for client/server.
184 client_config_.SetInitialFlowControlWindowToSend( 184 client_config_.SetInitialFlowControlWindowToSend(
185 2 * kInitialFlowControlWindowForTest); 185 2 * kInitialFlowControlWindowForTest);
186 server_config_.SetInitialFlowControlWindowToSend( 186 server_config_.SetInitialFlowControlWindowToSend(
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 QuicSession* session = dispatcher->session_map().begin()->second; 1133 QuicSession* session = dispatcher->session_map().begin()->second;
1134 EXPECT_EQ(kClientIFCW, 1134 EXPECT_EQ(kClientIFCW,
1135 session->config()->ReceivedInitialFlowControlWindowBytes()); 1135 session->config()->ReceivedInitialFlowControlWindowBytes());
1136 server_thread_->Resume(); 1136 server_thread_->Resume();
1137 } 1137 }
1138 1138
1139 } // namespace 1139 } // namespace
1140 } // namespace test 1140 } // namespace test
1141 } // namespace tools 1141 } // namespace tools
1142 } // namespace net 1142 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698