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

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

Issue 2453933002: Reinstating short timeouts for proxied QUIC. ENABLED FLAGS_quic_reinstate_short_timeout_for_udp_pr… (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 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_config.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_config.cc
diff --git a/net/quic/core/quic_config.cc b/net/quic/core/quic_config.cc
index 3697a97d77cfdfc5860406aebd5aba6a240eed7c..e2661bd380897d0052461f19d2df66ed461b85c7 100644
--- a/net/quic/core/quic_config.cc
+++ b/net/quic/core/quic_config.cc
@@ -77,6 +77,11 @@ uint32_t QuicNegotiableUint32::GetUint32() const {
return default_value_;
}
+// Returns the maximum value negotiable.
+uint32_t QuicNegotiableUint32::GetMax() const {
+ return max_value_;
+}
+
void QuicNegotiableUint32::ToHandshakeMessage(
CryptoHandshakeMessage* out) const {
if (negotiated()) {
« no previous file with comments | « net/quic/core/quic_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698