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

Unified Diff: net/http/http_security_headers.h

Issue 1733973004: Limit Public-Key-Pins max-age to 60 days (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | net/http/http_security_headers.cc » ('j') | net/http/http_security_headers.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_security_headers.h
diff --git a/net/http/http_security_headers.h b/net/http/http_security_headers.h
index af904307870cf7ba8e637da979139d04c463bfe2..1d328798e552574530d81b03d539814ede01db7b 100644
--- a/net/http/http_security_headers.h
+++ b/net/http/http_security_headers.h
@@ -19,6 +19,7 @@ class GURL;
namespace net {
const int64_t kMaxHSTSAgeSecs = 86400 * 365; // 1 year
+const int64_t kMaxHPKPAgeSecs = 86400 * 60; // 60 days
estark 2016/02/25 21:58:04 Can you please add a comment above this line with
// Parses |value| as a Strict-Transport-Security header value. If successful,
// returns true and sets |*max_age| and |*include_subdomains|.
« no previous file with comments | « no previous file | net/http/http_security_headers.cc » ('j') | net/http/http_security_headers.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698