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

Unified Diff: net/quic/core/quic_time.h

Issue 2541163005: [m56 merge] Make QuicCryptoClientConfig only cache server configs for 1 week. (Closed)
Patch Set: Created 4 years 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/crypto/quic_crypto_client_config_test.cc ('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_time.h
diff --git a/net/quic/core/quic_time.h b/net/quic/core/quic_time.h
index 92e31bcc54bc963249172809c1fa6f5b404bdee5..06aa8827cb236b1fa7f469571c039b9e78f5dc8c 100644
--- a/net/quic/core/quic_time.h
+++ b/net/quic/core/quic_time.h
@@ -26,6 +26,7 @@ namespace net {
static const int kNumSecondsPerMinute = 60;
static const int kNumSecondsPerHour = kNumSecondsPerMinute * 60;
+static const uint64_t kNumSecondsPerWeek = kNumSecondsPerHour * 24 * 7;
static const uint64_t kNumMicrosPerSecond = base::Time::kMicrosecondsPerSecond;
static const uint64_t kNumMicrosPerMilli =
base::Time::kMicrosecondsPerMillisecond;
« no previous file with comments | « net/quic/core/crypto/quic_crypto_client_config_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698