Index: net/quic/core/quic_config.h |
diff --git a/net/quic/core/quic_config.h b/net/quic/core/quic_config.h |
index 6d552426fd145676bf546da8f3f9376861fb4960..10e5711b0871e25a2ec9072fcfc08d1e95df4d89 100644 |
--- a/net/quic/core/quic_config.h |
+++ b/net/quic/core/quic_config.h |
@@ -93,6 +93,9 @@ class NET_EXPORT_PRIVATE QuicNegotiableUint32 : public QuicNegotiableValue { |
// default_value_ (used to set default values before negotiation finishes). |
uint32_t GetUint32() const; |
+ // Returns the maximum value negotiable. |
+ uint32_t GetMax() const; |
+ |
// Serialises |name_| and value to |out|. If |negotiated_| is true then |
// |negotiated_value_| is serialised, otherwise |max_value_| is serialised. |
void ToHandshakeMessage(CryptoHandshakeMessage* out) const override; |
@@ -319,6 +322,10 @@ class NET_EXPORT_PRIVATE QuicConfig { |
return max_idle_time_before_crypto_handshake_; |
} |
+ QuicNegotiableUint32 idle_connection_state_lifetime_seconds() const { |
+ return idle_connection_state_lifetime_seconds_; |
+ } |
+ |
void set_max_undecryptable_packets(size_t max_undecryptable_packets) { |
max_undecryptable_packets_ = max_undecryptable_packets; |
} |