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