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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 15711007: Remove "--hsts-hosts" command-line argument (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 806
807 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow 807 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow
808 // (not counting backup attempts which would also consume threads). 808 // (not counting backup attempts which would also consume threads).
809 // --host-resolver-retry-attempts must be set to zero for this to be exact. 809 // --host-resolver-retry-attempts must be set to zero for this to be exact.
810 const char kHostResolverParallelism[] = "host-resolver-parallelism"; 810 const char kHostResolverParallelism[] = "host-resolver-parallelism";
811 811
812 // The maximum number of retry attempts to resolve the host. Set this to zero 812 // The maximum number of retry attempts to resolve the host. Set this to zero
813 // to disable host resolver retry attempts. 813 // to disable host resolver retry attempts.
814 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; 814 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts";
815 815
816 // Takes the JSON-formatted HSTS specification and loads it as if it were a
817 // preloaded HSTS entry. Takes precedence over both website-specified rules and
818 // built-in rules. The JSON format is the same as that persisted in
819 // <profile_dir>/Default/TransportSecurity
820 const char kHstsHosts[] = "hsts-hosts";
821
822 // Causes net::URLFetchers to ignore requests for SSL client certificates, 816 // Causes net::URLFetchers to ignore requests for SSL client certificates,
823 // causing them to attempt an unauthenticated SSL/TLS session. This is intended 817 // causing them to attempt an unauthenticated SSL/TLS session. This is intended
824 // for use when testing various service URLs (eg: kPromoServerURL, kInstantURL, 818 // for use when testing various service URLs (eg: kPromoServerURL, kInstantURL,
825 // kSbURLPrefix, kSyncServiceURL, etc) 819 // kSbURLPrefix, kSyncServiceURL, etc)
826 const char kIgnoreUrlFetcherCertRequests[] = 820 const char kIgnoreUrlFetcherCertRequests[] =
827 "ignore-urlfetcher-cert-requests"; 821 "ignore-urlfetcher-cert-requests";
828 822
829 // Causes the browser to launch directly in incognito mode. 823 // Causes the browser to launch directly in incognito mode.
830 const char kIncognito[] = "incognito"; 824 const char kIncognito[] = "incognito";
831 825
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 1586
1593 // ----------------------------------------------------------------------------- 1587 // -----------------------------------------------------------------------------
1594 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1588 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1595 // 1589 //
1596 // You were going to just dump your switches here, weren't you? Instead, please 1590 // You were going to just dump your switches here, weren't you? Instead, please
1597 // put them in alphabetical order above, or in order inside the appropriate 1591 // put them in alphabetical order above, or in order inside the appropriate
1598 // ifdef at the bottom. The order should match the header. 1592 // ifdef at the bottom. The order should match the header.
1599 // ----------------------------------------------------------------------------- 1593 // -----------------------------------------------------------------------------
1600 1594
1601 } // namespace switches 1595 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/transport_security_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698