1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/base/net_switches.h" 6 7 namespace switches { 8 9 // This switch will take the JSON-formatted HSTS specification and load it 10 // as if it were a preloaded HSTS entry. It will take precedence over both 11 // website-specified rules and built-in rules. 12 // The JSON format is the same as that persisted in 13 // <profile_dir>/Default/TransportSecurity 14 const char kHstsHosts[] = "hsts-hosts"; 15 16 } // namespace switches 17 18