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

Unified Diff: net/quic/quic_session.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_flow_controller.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index f16434d3161171abe535a914fe32eeafa2e6dbb3..d5f257d70152412b9f81e48f6802ce61198dd6c8 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -253,7 +253,7 @@ void QuicSession::OnWindowUpdateFrames(
DVLOG(1) << ENDPOINT
<< "Received connection level flow control window update with "
"byte offset: " << frames[i].byte_offset;
- if (FLAGS_enable_quic_connection_flow_control &&
+ if (FLAGS_enable_quic_connection_flow_control_2 &&
flow_controller_->UpdateSendWindowOffset(frames[i].byte_offset)) {
connection_window_updated = true;
}
@@ -413,7 +413,7 @@ void QuicSession::CloseStreamInner(QuicStreamId stream_id,
// received, for accurate connection level flow control accounting.
if (!stream->HasFinalReceivedByteOffset() &&
stream->flow_controller()->IsEnabled() &&
- FLAGS_enable_quic_connection_flow_control) {
+ FLAGS_enable_quic_connection_flow_control_2) {
locally_closed_streams_highest_offset_[stream_id] =
stream->flow_controller()->highest_received_byte_offset();
}
@@ -424,7 +424,7 @@ void QuicSession::CloseStreamInner(QuicStreamId stream_id,
void QuicSession::UpdateFlowControlOnFinalReceivedByteOffset(
QuicStreamId stream_id, QuicStreamOffset final_byte_offset) {
- if (!FLAGS_enable_quic_connection_flow_control) {
+ if (!FLAGS_enable_quic_connection_flow_control_2) {
return;
}
« no previous file with comments | « net/quic/quic_flow_controller.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698