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

Unified Diff: net/quic/quic_flow_controller.cc

Issue 444313002: Deprecate rolled out FLAGS_enable_quic_connection_flow_control_2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0807
Patch Set: Created 6 years, 4 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_flags.cc ('k') | net/quic/quic_headers_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_flow_controller.cc
diff --git a/net/quic/quic_flow_controller.cc b/net/quic/quic_flow_controller.cc
index 9d0903172cf86ad976b509fc7f7f05c3eb213972..855d16530cfc596108cf48718c0fd76fcd634079 100644
--- a/net/quic/quic_flow_controller.cc
+++ b/net/quic/quic_flow_controller.cc
@@ -179,12 +179,7 @@ void QuicFlowController::Disable() {
}
bool QuicFlowController::IsEnabled() const {
- bool connection_flow_control_enabled =
- (id_ == kConnectionLevelId &&
- FLAGS_enable_quic_connection_flow_control_2);
- bool stream_flow_control_enabled = (id_ != kConnectionLevelId);
- return (connection_flow_control_enabled || stream_flow_control_enabled) &&
- is_enabled_;
+ return is_enabled_;
}
bool QuicFlowController::IsBlocked() const {
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_headers_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698