OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 // The URL to use for the gallery link in the app launcher. | 51 // The URL to use for the gallery link in the app launcher. |
52 const char kAppsGalleryURL[] = "apps-gallery-url"; | 52 const char kAppsGalleryURL[] = "apps-gallery-url"; |
53 | 53 |
54 // Disable throbber for extension apps. | 54 // Disable throbber for extension apps. |
55 const char kAppsNoThrob[] = "apps-no-throb"; | 55 const char kAppsNoThrob[] = "apps-no-throb"; |
56 | 56 |
57 // Whether to display the "Debug" link for app launch behavior. | 57 // Whether to display the "Debug" link for app launch behavior. |
58 const char kAppsDebug[] = "apps-debug"; | 58 const char kAppsDebug[] = "apps-debug"; |
59 | 59 |
60 // Authentication white list for servers | 60 // HTTP authentication schemes to enable. This is a comma separated list |
| 61 // of authentication schemes (basic, digest, ntlm, and negotiate). By default |
| 62 // all schemes are enabled. The primary use of this command line flag is to help |
| 63 // triage autentication-related issues reported by end-users. |
| 64 const char kAuthSchemes[] = "auth-schemes"; |
| 65 |
| 66 // Authentication white list for servers. |
61 const char kAuthServerWhitelist[] = "auth-server-whitelist"; | 67 const char kAuthServerWhitelist[] = "auth-server-whitelist"; |
62 | 68 |
63 // The value of this switch tells the app to listen for and broadcast | 69 // The value of this switch tells the app to listen for and broadcast |
64 // automation-related messages on IPC channel with the given ID. | 70 // automation-related messages on IPC channel with the given ID. |
65 const char kAutomationClientChannelID[] = "automation-channel"; | 71 const char kAutomationClientChannelID[] = "automation-channel"; |
66 | 72 |
67 // Block non-sandboxed plugins. | 73 // Block non-sandboxed plugins. |
68 const char kBlockNonSandboxedPlugins[] = "block-nonsandboxed-plugins"; | 74 const char kBlockNonSandboxedPlugins[] = "block-nonsandboxed-plugins"; |
69 | 75 |
70 // Causes the browser process to throw an assertion on startup. | 76 // Causes the browser process to throw an assertion on startup. |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 // Usage: -enable-watchdog=[ui][io] | 481 // Usage: -enable-watchdog=[ui][io] |
476 // Order of the listed sub-arguments does not matter. | 482 // Order of the listed sub-arguments does not matter. |
477 const char kEnableWatchdog[] = "enable-watchdog"; | 483 const char kEnableWatchdog[] = "enable-watchdog"; |
478 | 484 |
479 // Enables Windows 7 Location Platform provider for geolocation API. | 485 // Enables Windows 7 Location Platform provider for geolocation API. |
480 const char kEnableWin7Location[] = "enable-win7-location"; | 486 const char kEnableWin7Location[] = "enable-win7-location"; |
481 | 487 |
482 // Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 488 // Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
483 const char kEnableXSSAuditor[] = "enable-xss-auditor"; | 489 const char kEnableXSSAuditor[] = "enable-xss-auditor"; |
484 | 490 |
485 // Enables the experimental Negotiate authentication protocol. | |
486 const char kExperimentalEnableNegotiateAuth[] = | |
487 "experimental-enable-negotiate-auth"; | |
488 | |
489 // Enables experimental features for Spellchecker. Right now, the first | 491 // Enables experimental features for Spellchecker. Right now, the first |
490 // experimental feature is auto spell correct, which corrects words which are | 492 // experimental feature is auto spell correct, which corrects words which are |
491 // misppelled by typing the word with two consecutive letters swapped. The | 493 // misppelled by typing the word with two consecutive letters swapped. The |
492 // features that will be added next are: | 494 // features that will be added next are: |
493 // 1 - Allow multiple spellcheckers to work simultaneously. | 495 // 1 - Allow multiple spellcheckers to work simultaneously. |
494 // 2 - Allow automatic detection of spell check language. | 496 // 2 - Allow automatic detection of spell check language. |
495 // TODO(sidchat): Implement the above fetaures to work under this flag. | 497 // TODO(sidchat): Implement the above fetaures to work under this flag. |
496 const char kExperimentalSpellcheckerFeatures[] = | 498 const char kExperimentalSpellcheckerFeatures[] = |
497 "experimental-spellchecker-features"; | 499 "experimental-spellchecker-features"; |
498 | 500 |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 | 1186 |
1185 // ----------------------------------------------------------------------------- | 1187 // ----------------------------------------------------------------------------- |
1186 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1188 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1187 // | 1189 // |
1188 // You were going to just dump your switches here, weren't you? Instead, | 1190 // You were going to just dump your switches here, weren't you? Instead, |
1189 // please put them in alphabetical order above, or in order inside the | 1191 // please put them in alphabetical order above, or in order inside the |
1190 // appropriate ifdef at the bottom. The order should match the header. | 1192 // appropriate ifdef at the bottom. The order should match the header. |
1191 // ----------------------------------------------------------------------------- | 1193 // ----------------------------------------------------------------------------- |
1192 | 1194 |
1193 } // namespace switches | 1195 } // namespace switches |
OLD | NEW |