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

Unified Diff: net/quic/core/quic_protocol.cc

Issue 2515783003: Deprecate FLAGS_quic_enable_version_35. (Closed)
Patch Set: Created 4 years, 1 month 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/core/quic_protocol.h ('k') | net/quic/core/quic_protocol_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_protocol.cc
diff --git a/net/quic/core/quic_protocol.cc b/net/quic/core/quic_protocol.cc
index c6cf8620e05220392780661299740d38b4221fe1..295e61f948ada1251bf0e685867845c4c0bbc86b 100644
--- a/net/quic/core/quic_protocol.cc
+++ b/net/quic/core/quic_protocol.cc
@@ -610,8 +610,7 @@ StringPiece QuicPacket::Plaintext(QuicVersion version) const {
}
QuicVersionManager::QuicVersionManager(QuicVersionVector supported_versions)
- : enable_version_35_(FLAGS_quic_enable_version_35),
- enable_version_36_(FLAGS_quic_enable_version_36_v2),
+ : enable_version_36_(FLAGS_quic_enable_version_36_v2),
allowed_supported_versions_(supported_versions),
filtered_supported_versions_(
FilterSupportedVersions(supported_versions)) {}
@@ -619,9 +618,7 @@ QuicVersionManager::QuicVersionManager(QuicVersionVector supported_versions)
QuicVersionManager::~QuicVersionManager() {}
const QuicVersionVector& QuicVersionManager::GetSupportedVersions() {
- if (enable_version_35_ != FLAGS_quic_enable_version_35 ||
- enable_version_36_ != FLAGS_quic_enable_version_36_v2) {
- enable_version_35_ = FLAGS_quic_enable_version_35;
+ if (enable_version_36_ != FLAGS_quic_enable_version_36_v2) {
enable_version_36_ = FLAGS_quic_enable_version_36_v2;
filtered_supported_versions_ =
FilterSupportedVersions(allowed_supported_versions_);
« no previous file with comments | « net/quic/core/quic_protocol.h ('k') | net/quic/core/quic_protocol_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698