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 |
205 // Disable extensions. | 208 // Disable extensions. |
206 const char kDisableExtensions[] = "disable-extensions"; | 209 const char kDisableExtensions[] = "disable-extensions"; |
207 | 210 |
208 // Disable checking for user opt-in for extensions that want to inject script | 211 // Disable checking for user opt-in for extensions that want to inject script |
209 // into file URLs (ie, always allow it). This is used during automated testing. | 212 // into file URLs (ie, always allow it). This is used during automated testing. |
210 const char kDisableExtensionsFileAccessCheck[] = | 213 const char kDisableExtensionsFileAccessCheck[] = |
211 "disable-extensions-file-access-check"; | 214 "disable-extensions-file-access-check"; |
212 | 215 |
213 // Disables the sandbox for the built-in flash player. | 216 // Disables the sandbox for the built-in flash player. |
214 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | 217 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // Enables compositing to texture instead of display. | 373 // Enables compositing to texture instead of display. |
371 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; | 374 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; |
372 | 375 |
373 // Enables establishing a backup TCP connection if a specified timeout is | 376 // Enables establishing a backup TCP connection if a specified timeout is |
374 // exceeded. | 377 // exceeded. |
375 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 378 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
376 | 379 |
377 // Enables web developers to create apps for Chrome without using crx packages. | 380 // Enables web developers to create apps for Chrome without using crx packages. |
378 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 381 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
379 | 382 |
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 | |
385 // Enable DNS side checking of certificates. Still experimental, should only | 383 // Enable DNS side checking of certificates. Still experimental, should only |
386 // be used by developers at the current time. | 384 // be used by developers at the current time. |
387 const char kEnableDNSCertProvenanceChecking[] = | 385 const char kEnableDNSCertProvenanceChecking[] = |
388 "enable-dns-cert-provenance-checking"; | 386 "enable-dns-cert-provenance-checking"; |
389 | 387 |
390 // Enables extension APIs that are in development. | 388 // Enables extension APIs that are in development. |
391 const char kEnableExperimentalExtensionApis[] = | 389 const char kEnableExperimentalExtensionApis[] = |
392 "enable-experimental-extension-apis"; | 390 "enable-experimental-extension-apis"; |
393 | 391 |
394 // Enable experimental timeline API. | 392 // Enable experimental timeline API. |
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1146 | 1144 |
1147 // ----------------------------------------------------------------------------- | 1145 // ----------------------------------------------------------------------------- |
1148 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1146 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1149 // | 1147 // |
1150 // You were going to just dump your switches here, weren't you? Instead, | 1148 // You were going to just dump your switches here, weren't you? Instead, |
1151 // please put them in alphabetical order above, or in order inside the | 1149 // please put them in alphabetical order above, or in order inside the |
1152 // appropriate ifdef at the bottom. The order should match the header. | 1150 // appropriate ifdef at the bottom. The order should match the header. |
1153 // ----------------------------------------------------------------------------- | 1151 // ----------------------------------------------------------------------------- |
1154 | 1152 |
1155 } // namespace switches | 1153 } // namespace switches |
OLD | NEW |