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