| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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 | 103 // Certificate Transparency: Uses the provided log(s) for checking Signed | 
| 104 // Certificate Timestamps provided with certificates. | 104 // Certificate Timestamps provided with certificates. | 
| 105 // The switch's value is: | 105 // The switch's value is: | 
| 106 //   log_description:log_key:log_url,log_description:log_key:log_url,... | 106 //   log_description:log_key:log_url[:log_dns_domain], | 
|  | 107 //   log_description:log_key:log_url[:log_dns_domain],... | 
| 107 // where | 108 // where | 
| 108 //   log_description is a textual description of the log. | 109 //   log_description is a textual description of the log. | 
| 109 //   log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's | 110 //   log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's | 
| 110 //   public key. | 111 //   public key. | 
| 111 //   log_url is a URL for the log, excluding the schema (which is always | 112 //   log_url is a URL for the log, excluding the schema (which is always | 
| 112 //   assumed to be HTTPS as required by RFC6962). | 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). | 
| 113 // Multiple logs can be specified by repeating description:key pairs, | 117 // Multiple logs can be specified by repeating description:key pairs, | 
| 114 // separated by a comma. | 118 // separated by a comma. | 
| 115 const char kCertificateTransparencyLog[]    = "certificate-transparency-log"; | 119 const char kCertificateTransparencyLog[]    = "certificate-transparency-log"; | 
| 116 | 120 | 
| 117 // How often (in seconds) to check for updates. Should only be used for testing | 121 // How often (in seconds) to check for updates. Should only be used for testing | 
| 118 // purposes. | 122 // purposes. | 
| 119 const char kCheckForUpdateIntervalSec[]     = "check-for-update-interval"; | 123 const char kCheckForUpdateIntervalSec[]     = "check-for-update-interval"; | 
| 120 | 124 | 
| 121 // Comma-separated list of SSL cipher suites to disable. | 125 // Comma-separated list of SSL cipher suites to disable. | 
| 122 const char kCipherSuiteBlacklist[]          = "cipher-suite-blacklist"; | 126 const char kCipherSuiteBlacklist[]          = "cipher-suite-blacklist"; | 
| (...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1337 | 1341 | 
| 1338 // ----------------------------------------------------------------------------- | 1342 // ----------------------------------------------------------------------------- | 
| 1339 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1343 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 
| 1340 // | 1344 // | 
| 1341 // You were going to just dump your switches here, weren't you? Instead, please | 1345 // You were going to just dump your switches here, weren't you? Instead, please | 
| 1342 // put them in alphabetical order above, or in order inside the appropriate | 1346 // put them in alphabetical order above, or in order inside the appropriate | 
| 1343 // ifdef at the bottom. The order should match the header. | 1347 // ifdef at the bottom. The order should match the header. | 
| 1344 // ----------------------------------------------------------------------------- | 1348 // ----------------------------------------------------------------------------- | 
| 1345 | 1349 | 
| 1346 }  // namespace switches | 1350 }  // namespace switches | 
| OLD | NEW | 
|---|