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

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

Issue 2834723002: Landing Recent QUIC changes until Thu Apr 20 2017 (Closed)
Patch Set: Format Created 3 years, 8 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/core/quic_flags_list.h ('k') | net/quic/core/quic_version_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_version_manager.cc
diff --git a/net/quic/core/quic_version_manager.cc b/net/quic/core/quic_version_manager.cc
index fb8bdf01ca04043e0df8a4a23c818d4c13040d20..7652813f858169a20d9f5f22a952f07997996099 100644
--- a/net/quic/core/quic_version_manager.cc
+++ b/net/quic/core/quic_version_manager.cc
@@ -10,7 +10,7 @@
namespace net {
QuicVersionManager::QuicVersionManager(QuicVersionVector supported_versions)
- : enable_version_39_(GetQuicFlag(FLAGS_quic_enable_version_39)),
+ : enable_version_39_(FLAGS_quic_enable_version_39),
enable_version_38_(FLAGS_quic_reloadable_flag_quic_enable_version_38),
allowed_supported_versions_(supported_versions),
filtered_supported_versions_(
@@ -24,9 +24,9 @@ const QuicVersionVector& QuicVersionManager::GetSupportedVersions() {
}
void QuicVersionManager::MaybeRefilterSupportedVersions() {
- if (enable_version_39_ != GetQuicFlag(FLAGS_quic_enable_version_39) ||
+ if (enable_version_39_ != FLAGS_quic_enable_version_39 ||
enable_version_38_ != FLAGS_quic_reloadable_flag_quic_enable_version_38) {
- enable_version_39_ = GetQuicFlag(FLAGS_quic_enable_version_39);
+ enable_version_39_ = FLAGS_quic_enable_version_39;
enable_version_38_ = FLAGS_quic_reloadable_flag_quic_enable_version_38;
RefilterSupportedVersions();
}
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/core/quic_version_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698