| OLD | NEW |
| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // automatically select to share the entire screen in English locales. | 93 // automatically select to share the entire screen in English locales. |
| 94 const char kAutoSelectDesktopCaptureSource[] = | 94 const char kAutoSelectDesktopCaptureSource[] = |
| 95 "auto-select-desktop-capture-source"; | 95 "auto-select-desktop-capture-source"; |
| 96 | 96 |
| 97 // This flag causes the user engagement checks for showing app banners to be | 97 // This flag causes the user engagement checks for showing app banners to be |
| 98 // bypassed. It is intended to be used by developers who wish to test that their | 98 // bypassed. It is intended to be used by developers who wish to test that their |
| 99 // sites otherwise meet the criteria needed to show app banners. | 99 // sites otherwise meet the criteria needed to show app banners. |
| 100 const char kBypassAppBannerEngagementChecks[] = | 100 const char kBypassAppBannerEngagementChecks[] = |
| 101 "bypass-app-banner-engagement-checks"; | 101 "bypass-app-banner-engagement-checks"; |
| 102 | 102 |
| 103 // Certificate Transparency: Uses the provided log(s) for checking Signed | |
| 104 // Certificate Timestamps provided with certificates. | |
| 105 // The switch's value is: | |
| 106 // log_description:log_key:log_url[:log_dns_domain], | |
| 107 // log_description:log_key:log_url[:log_dns_domain],... | |
| 108 // where | |
| 109 // log_description is a textual description of the log. | |
| 110 // log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's | |
| 111 // public key. | |
| 112 // log_url is a URL for the log, excluding the schema (which is always | |
| 113 // assumed to be HTTPS as required by RFC6962). | |
| 114 // log_dns_domain is the domain name to use for DNS queries requesting | |
| 115 // inclusion proofs (as per | |
| 116 // https://github.com/google/certificate-transparency-rfcs/blob/master/dns/dra
ft-ct-over-dns.md). | |
| 117 // Multiple logs can be specified by repeating description:key pairs, | |
| 118 // separated by a comma. | |
| 119 const char kCertificateTransparencyLog[] = "certificate-transparency-log"; | |
| 120 | |
| 121 // How often (in seconds) to check for updates. Should only be used for testing | 103 // How often (in seconds) to check for updates. Should only be used for testing |
| 122 // purposes. | 104 // purposes. |
| 123 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; | 105 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; |
| 124 | 106 |
| 125 // Comma-separated list of SSL cipher suites to disable. | 107 // Comma-separated list of SSL cipher suites to disable. |
| 126 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; | 108 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; |
| 127 | 109 |
| 128 // Tells chrome to display the cloud print dialog and upload the specified file | 110 // Tells chrome to display the cloud print dialog and upload the specified file |
| 129 // for printing. | 111 // for printing. |
| 130 const char kCloudPrintFile[] = "cloud-print-file"; | 112 const char kCloudPrintFile[] = "cloud-print-file"; |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 | 1297 |
| 1316 // ----------------------------------------------------------------------------- | 1298 // ----------------------------------------------------------------------------- |
| 1317 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1318 // | 1300 // |
| 1319 // You were going to just dump your switches here, weren't you? Instead, please | 1301 // You were going to just dump your switches here, weren't you? Instead, please |
| 1320 // put them in alphabetical order above, or in order inside the appropriate | 1302 // put them in alphabetical order above, or in order inside the appropriate |
| 1321 // ifdef at the bottom. The order should match the header. | 1303 // ifdef at the bottom. The order should match the header. |
| 1322 // ----------------------------------------------------------------------------- | 1304 // ----------------------------------------------------------------------------- |
| 1323 | 1305 |
| 1324 } // namespace switches | 1306 } // namespace switches |
| OLD | NEW |