OLD | NEW |
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 "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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // Disables establishing a backup TCP connection if a specified timeout is | 207 // Disables establishing a backup TCP connection if a specified timeout is |
208 // exceeded. | 208 // exceeded. |
209 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; | 209 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; |
210 | 210 |
211 // Disables the custom JumpList on Windows 7. | 211 // Disables the custom JumpList on Windows 7. |
212 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 212 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
213 | 213 |
214 // Browser flag to disable the web inspector for all renderers. | 214 // Browser flag to disable the web inspector for all renderers. |
215 const char kDisableDevTools[] = "disable-dev-tools"; | 215 const char kDisableDevTools[] = "disable-dev-tools"; |
216 | 216 |
| 217 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. |
| 218 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
| 219 |
217 // Disable extensions. | 220 // Disable extensions. |
218 const char kDisableExtensions[] = "disable-extensions"; | 221 const char kDisableExtensions[] = "disable-extensions"; |
219 | 222 |
220 // Disable checking for user opt-in for extensions that want to inject script | 223 // Disable checking for user opt-in for extensions that want to inject script |
221 // into file URLs (ie, always allow it). This is used during automated testing. | 224 // into file URLs (ie, always allow it). This is used during automated testing. |
222 const char kDisableExtensionsFileAccessCheck[] = | 225 const char kDisableExtensionsFileAccessCheck[] = |
223 "disable-extensions-file-access-check"; | 226 "disable-extensions-file-access-check"; |
224 | 227 |
225 // Disables the sandbox for the built-in flash player. | 228 // Disables the sandbox for the built-in flash player. |
226 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | 229 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 // Enables compositing to texture instead of display. | 406 // Enables compositing to texture instead of display. |
404 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; | 407 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; |
405 | 408 |
406 // Enables establishing a backup TCP connection if a specified timeout is | 409 // Enables establishing a backup TCP connection if a specified timeout is |
407 // exceeded. | 410 // exceeded. |
408 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 411 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
409 | 412 |
410 // Enables web developers to create apps for Chrome without using crx packages. | 413 // Enables web developers to create apps for Chrome without using crx packages. |
411 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 414 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
412 | 415 |
413 // Enables retrieval of PAC URLs from DHCP as per the WPAD standard. Note | |
414 // that this feature is not supported on all platforms, and using the flag | |
415 // is a no-op on such platforms. | |
416 const char kEnableDhcpWpad[] = "enable-dhcp-wpad"; | |
417 | |
418 // Enable DNS side checking of certificates. Still experimental, should only | 416 // Enable DNS side checking of certificates. Still experimental, should only |
419 // be used by developers at the current time. | 417 // be used by developers at the current time. |
420 const char kEnableDNSCertProvenanceChecking[] = | 418 const char kEnableDNSCertProvenanceChecking[] = |
421 "enable-dns-cert-provenance-checking"; | 419 "enable-dns-cert-provenance-checking"; |
422 | 420 |
423 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; | 421 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; |
424 | 422 |
425 // Enables app manifest features that are in development. | 423 // Enables app manifest features that are in development. |
426 const char kEnableExperimentalAppManifests[] = | 424 const char kEnableExperimentalAppManifests[] = |
427 "enable-experimental-app-manifests"; | 425 "enable-experimental-app-manifests"; |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 | 1185 |
1188 // ----------------------------------------------------------------------------- | 1186 // ----------------------------------------------------------------------------- |
1189 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1187 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1190 // | 1188 // |
1191 // You were going to just dump your switches here, weren't you? Instead, | 1189 // You were going to just dump your switches here, weren't you? Instead, |
1192 // please put them in alphabetical order above, or in order inside the | 1190 // please put them in alphabetical order above, or in order inside the |
1193 // appropriate ifdef at the bottom. The order should match the header. | 1191 // appropriate ifdef at the bottom. The order should match the header. |
1194 // ----------------------------------------------------------------------------- | 1192 // ----------------------------------------------------------------------------- |
1195 | 1193 |
1196 } // namespace switches | 1194 } // namespace switches |
OLD | NEW |