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

Side by Side Diff: net/base/net_switches.cc

Issue 6895039: Merge 82409 - Add command-line control of the HSTS preload list. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/742/src/
Patch Set: Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/net_switches.h ('k') | net/base/transport_security_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « net/base/net_switches.h ('k') | net/base/transport_security_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698