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

Unified Diff: net/quic/quic_config.h

Issue 15937012: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small bug fixes Created 7 years, 7 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
Index: net/quic/quic_config.h
diff --git a/net/quic/quic_config.h b/net/quic/quic_config.h
index 0f11493991547cbe675c5951b71958e75b9a78da..c07f332ac6f858022c97125f243a142a7420a70b 100644
--- a/net/quic/quic_config.h
+++ b/net/quic/quic_config.h
@@ -154,6 +154,11 @@ class NET_EXPORT_PRIVATE QuicConfig {
uint32 max_streams_per_connection() const;
+ void set_max_time_before_crypto_handshake(
+ QuicTime::Delta max_time_before_crypto_handshake);
+
+ QuicTime::Delta max_time_before_crypto_handshake() const;
+
bool negotiated();
// SetDefaults sets the members to sensible, default values.
@@ -182,6 +187,9 @@ class NET_EXPORT_PRIVATE QuicConfig {
QuicNegotiableUint32 keepalive_timeout_seconds_;
// Maximum number of streams that the connection can support.
QuicNegotiableUint32 max_streams_per_connection_;
+ // Maximum time till the session can be alive before crypto handshake is
+ // finished. (Not negotiated).
+ QuicTime::Delta max_time_before_crypto_handshake_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698