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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 const char kDisableClientSidePhishingDetection[] = | 216 const char kDisableClientSidePhishingDetection[] = |
217 "disable-client-side-phishing-detection"; | 217 "disable-client-side-phishing-detection"; |
218 | 218 |
219 // Disables establishing a backup TCP connection if a specified timeout is | 219 // Disables establishing a backup TCP connection if a specified timeout is |
220 // exceeded. | 220 // exceeded. |
221 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; | 221 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; |
222 | 222 |
223 // Disables the custom JumpList on Windows 7. | 223 // Disables the custom JumpList on Windows 7. |
224 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 224 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
225 | 225 |
| 226 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. |
| 227 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
| 228 |
226 // Disable extensions. | 229 // Disable extensions. |
227 const char kDisableExtensions[] = "disable-extensions"; | 230 const char kDisableExtensions[] = "disable-extensions"; |
228 | 231 |
229 // Disable checking for user opt-in for extensions that want to inject script | 232 // Disable checking for user opt-in for extensions that want to inject script |
230 // into file URLs (ie, always allow it). This is used during automated testing. | 233 // into file URLs (ie, always allow it). This is used during automated testing. |
231 const char kDisableExtensionsFileAccessCheck[] = | 234 const char kDisableExtensionsFileAccessCheck[] = |
232 "disable-extensions-file-access-check"; | 235 "disable-extensions-file-access-check"; |
233 | 236 |
234 // Disables the sandbox for the built-in flash player. | 237 // Disables the sandbox for the built-in flash player. |
235 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | 238 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 // Enables compositing to texture instead of display. | 394 // Enables compositing to texture instead of display. |
392 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; | 395 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; |
393 | 396 |
394 // Enables establishing a backup TCP connection if a specified timeout is | 397 // Enables establishing a backup TCP connection if a specified timeout is |
395 // exceeded. | 398 // exceeded. |
396 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 399 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
397 | 400 |
398 // Enables web developers to create apps for Chrome without using crx packages. | 401 // Enables web developers to create apps for Chrome without using crx packages. |
399 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 402 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
400 | 403 |
401 // Enables retrieval of PAC URLs from DHCP as per the WPAD standard. Note | |
402 // that this feature is not supported on all platforms, and using the flag | |
403 // is a no-op on such platforms. | |
404 const char kEnableDhcpWpad[] = "enable-dhcp-wpad"; | |
405 | |
406 // Enable DNS side checking of certificates. Still experimental, should only | 404 // Enable DNS side checking of certificates. Still experimental, should only |
407 // be used by developers at the current time. | 405 // be used by developers at the current time. |
408 const char kEnableDNSCertProvenanceChecking[] = | 406 const char kEnableDNSCertProvenanceChecking[] = |
409 "enable-dns-cert-provenance-checking"; | 407 "enable-dns-cert-provenance-checking"; |
410 | 408 |
411 // Enables extension APIs that are in development. | 409 // Enables extension APIs that are in development. |
412 const char kEnableExperimentalExtensionApis[] = | 410 const char kEnableExperimentalExtensionApis[] = |
413 "enable-experimental-extension-apis"; | 411 "enable-experimental-extension-apis"; |
414 | 412 |
415 // Enable experimental timeline API. | 413 // Enable experimental timeline API. |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1175 | 1173 |
1176 // ----------------------------------------------------------------------------- | 1174 // ----------------------------------------------------------------------------- |
1177 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1175 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1178 // | 1176 // |
1179 // You were going to just dump your switches here, weren't you? Instead, | 1177 // You were going to just dump your switches here, weren't you? Instead, |
1180 // please put them in alphabetical order above, or in order inside the | 1178 // please put them in alphabetical order above, or in order inside the |
1181 // appropriate ifdef at the bottom. The order should match the header. | 1179 // appropriate ifdef at the bottom. The order should match the header. |
1182 // ----------------------------------------------------------------------------- | 1180 // ----------------------------------------------------------------------------- |
1183 | 1181 |
1184 } // namespace switches | 1182 } // namespace switches |
OLD | NEW |