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

Unified Diff: net/quic/core/crypto/quic_crypto_server_config.h

Issue 2308043003: Landing Recent QUIC changes until 5:55 PM, Aug 25, 2016 UTC-4 (Closed)
Patch Set: Fixes for various tests Created 4 years, 3 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/core/crypto/quic_crypto_server_config.h
diff --git a/net/quic/core/crypto/quic_crypto_server_config.h b/net/quic/core/crypto/quic_crypto_server_config.h
index e497e9ab38752c76f4172cf45b38ed5011f3473f..aa820ce82c3972d089c4b10f63bd663b6146e18b 100644
--- a/net/quic/core/crypto/quic_crypto_server_config.h
+++ b/net/quic/core/crypto/quic_crypto_server_config.h
@@ -466,6 +466,9 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// will not be promoted at a specific time.
QuicWallTime primary_time;
+ // expiry_time contains the timestamp when this config expires.
+ QuicWallTime expiry_time;
+
// Secondary sort key for use when selecting primary configs and
// there are multiple configs with the same primary time.
// Smaller numbers mean higher priority.
@@ -542,6 +545,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// BuildRejection sets |out| to be a REJ message in reply to |client_hello|.
void BuildRejection(QuicVersion version,
+ QuicWallTime now,
const Config& config,
const CryptoHandshakeMessage& client_hello,
const ClientHelloInfo& info,
« no previous file with comments | « net/quic/core/crypto/quic_crypto_client_config_test.cc ('k') | net/quic/core/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698