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