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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 const char kDisableClientSidePhishingDetection[] = | 195 const char kDisableClientSidePhishingDetection[] = |
196 "disable-client-side-phishing-detection"; | 196 "disable-client-side-phishing-detection"; |
197 | 197 |
198 // Disables establishing a backup TCP connection if a specified timeout is | 198 // Disables establishing a backup TCP connection if a specified timeout is |
199 // exceeded. | 199 // exceeded. |
200 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; | 200 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; |
201 | 201 |
202 // Disables the custom JumpList on Windows 7. | 202 // Disables the custom JumpList on Windows 7. |
203 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 203 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
204 | 204 |
205 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. | |
206 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; | |
207 | |
208 // Disable extensions. | 205 // Disable extensions. |
209 const char kDisableExtensions[] = "disable-extensions"; | 206 const char kDisableExtensions[] = "disable-extensions"; |
210 | 207 |
211 // Disable checking for user opt-in for extensions that want to inject script | 208 // Disable checking for user opt-in for extensions that want to inject script |
212 // into file URLs (ie, always allow it). This is used during automated testing. | 209 // into file URLs (ie, always allow it). This is used during automated testing. |
213 const char kDisableExtensionsFileAccessCheck[] = | 210 const char kDisableExtensionsFileAccessCheck[] = |
214 "disable-extensions-file-access-check"; | 211 "disable-extensions-file-access-check"; |
215 | 212 |
216 // Disables the sandbox for the built-in flash player. | 213 // Disables the sandbox for the built-in flash player. |
217 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | 214 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 // Enables compositing to texture instead of display. | 370 // Enables compositing to texture instead of display. |
374 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; | 371 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; |
375 | 372 |
376 // Enables establishing a backup TCP connection if a specified timeout is | 373 // Enables establishing a backup TCP connection if a specified timeout is |
377 // exceeded. | 374 // exceeded. |
378 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 375 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
379 | 376 |
380 // Enables web developers to create apps for Chrome without using crx packages. | 377 // Enables web developers to create apps for Chrome without using crx packages. |
381 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 378 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
382 | 379 |
| 380 // Enables retrieval of PAC URLs from DHCP as per the WPAD standard. Note |
| 381 // that this feature is not supported on all platforms, and using the flag |
| 382 // is a no-op on such platforms. |
| 383 const char kEnableDhcpWpad[] = "enable-dhcp-wpad"; |
| 384 |
383 // Enable DNS side checking of certificates. Still experimental, should only | 385 // Enable DNS side checking of certificates. Still experimental, should only |
384 // be used by developers at the current time. | 386 // be used by developers at the current time. |
385 const char kEnableDNSCertProvenanceChecking[] = | 387 const char kEnableDNSCertProvenanceChecking[] = |
386 "enable-dns-cert-provenance-checking"; | 388 "enable-dns-cert-provenance-checking"; |
387 | 389 |
388 // Enables extension APIs that are in development. | 390 // Enables extension APIs that are in development. |
389 const char kEnableExperimentalExtensionApis[] = | 391 const char kEnableExperimentalExtensionApis[] = |
390 "enable-experimental-extension-apis"; | 392 "enable-experimental-extension-apis"; |
391 | 393 |
392 // Enable experimental timeline API. | 394 // Enable experimental timeline API. |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1152 | 1154 |
1153 // ----------------------------------------------------------------------------- | 1155 // ----------------------------------------------------------------------------- |
1154 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1156 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1155 // | 1157 // |
1156 // You were going to just dump your switches here, weren't you? Instead, | 1158 // You were going to just dump your switches here, weren't you? Instead, |
1157 // please put them in alphabetical order above, or in order inside the | 1159 // please put them in alphabetical order above, or in order inside the |
1158 // appropriate ifdef at the bottom. The order should match the header. | 1160 // appropriate ifdef at the bottom. The order should match the header. |
1159 // ----------------------------------------------------------------------------- | 1161 // ----------------------------------------------------------------------------- |
1160 | 1162 |
1161 } // namespace switches | 1163 } // namespace switches |
OLD | NEW |