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

Unified Diff: net/features.gni

Issue 2906633003: Add a build flag to configure bundling of HSTS preload list (Closed)
Patch Set: address sleevi comments Created 3 years, 6 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/features.gni
diff --git a/net/features.gni b/net/features.gni
index 95c718ebadb7edb2a72d3363d3936374c4e4fb3b..c031e3fecdfbd72cde86c4b121c66ae50023ec2b 100644
--- a/net/features.gni
+++ b/net/features.gni
@@ -30,4 +30,13 @@ declare_args() {
# Reporting not used on iOS.
enable_reporting = !is_ios
+
+ # Whether transport security preload list should be included. This flag should
+ # not be changed without examining the risks and tradeoffs.
+ # HTTP strict transport security (HSTS) is defined in
+ # http://tools.ietf.org/html/ietf-websec-strict-transport-sec.
+ # Changing this flag to false will disable bundling of
+ # net/http/transport_security_state_static.json, which enforces domains-
+ # configured HSTS settings.
+ include_transport_security_state_preload_list = true
}
« no previous file with comments | « net/BUILD.gn ('k') | net/http/BUILD.gn » ('j') | net/http/transport_security_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698