| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // Tells the diagnostics mode to do the requested recovery step(s). | 191 // Tells the diagnostics mode to do the requested recovery step(s). |
| 192 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; | 192 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; |
| 193 | 193 |
| 194 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings | 194 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings |
| 195 // instead of as a separate page, unless this flag is specified. | 195 // instead of as a separate page, unless this flag is specified. |
| 196 const char kDisableAboutInSettings[] = "disable-about-in-settings"; | 196 const char kDisableAboutInSettings[] = "disable-about-in-settings"; |
| 197 | 197 |
| 198 // Disables the experimental asynchronous DNS client. | 198 // Disables the experimental asynchronous DNS client. |
| 199 const char kDisableAsyncDns[] = "disable-async-dns"; | 199 const char kDisableAsyncDns[] = "disable-async-dns"; |
| 200 | 200 |
| 201 // Disables CNAME lookup of the host when generating the Kerberos SPN for a | |
| 202 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more | |
| 203 // background. | |
| 204 const char kDisableAuthNegotiateCnameLookup[] = | |
| 205 "disable-auth-negotiate-cname-lookup"; | |
| 206 | |
| 207 // Disable several subsystems which run network requests in the background. | 201 // Disable several subsystems which run network requests in the background. |
| 208 // This is for use when doing network performance testing to avoid noise in the | 202 // This is for use when doing network performance testing to avoid noise in the |
| 209 // measurements. | 203 // measurements. |
| 210 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 204 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
| 211 | 205 |
| 212 // Disables the bundled PPAPI version of Flash. | 206 // Disables the bundled PPAPI version of Flash. |
| 213 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 207 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| 214 | 208 |
| 215 // Disable hardware encoding support for Cast Streaming. | 209 // Disable hardware encoding support for Cast Streaming. |
| 216 const char kDisableCastStreamingHWEncoding[] = | 210 const char kDisableCastStreamingHWEncoding[] = |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 | 384 |
| 391 // If set, the app list will be enabled as if enabled from CWS. | 385 // If set, the app list will be enabled as if enabled from CWS. |
| 392 const char kEnableAppList[] = "enable-app-list"; | 386 const char kEnableAppList[] = "enable-app-list"; |
| 393 | 387 |
| 394 // Enable OS integration for Chrome app file associations. | 388 // Enable OS integration for Chrome app file associations. |
| 395 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; | 389 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; |
| 396 | 390 |
| 397 // Enables the experimental asynchronous DNS client. | 391 // Enables the experimental asynchronous DNS client. |
| 398 const char kEnableAsyncDns[] = "enable-async-dns"; | 392 const char kEnableAsyncDns[] = "enable-async-dns"; |
| 399 | 393 |
| 400 // Enables the inclusion of non-standard ports when generating the Kerberos SPN | |
| 401 // in response to a Negotiate challenge. See | |
| 402 // HttpAuthHandlerNegotiate::CreateSPN for more background. | |
| 403 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | |
| 404 | |
| 405 // Enables the benchmarking extensions. | 394 // Enables the benchmarking extensions. |
| 406 const char kEnableBenchmarking[] = "enable-benchmarking"; | 395 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 407 | 396 |
| 408 // Enables client hints, which adds hints about browser state to HTTP requests. | 397 // Enables client hints, which adds hints about browser state to HTTP requests. |
| 409 const char kEnableClientHints[] = "enable-client-hints"; | 398 const char kEnableClientHints[] = "enable-client-hints"; |
| 410 | 399 |
| 411 // Enables the multi-level undo system for bookmarks. | 400 // Enables the multi-level undo system for bookmarks. |
| 412 const char kEnableBookmarkUndo[] = "enable-bookmark-undo"; | 401 const char kEnableBookmarkUndo[] = "enable-bookmark-undo"; |
| 413 | 402 |
| 414 // This applies only when the process type is "service". Enables the Cloud | 403 // This applies only when the process type is "service". Enables the Cloud |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 | 666 |
| 678 // Displays the First Run experience when the browser is started, regardless of | 667 // Displays the First Run experience when the browser is started, regardless of |
| 679 // whether or not it's actually the First Run (this overrides kNoFirstRun). | 668 // whether or not it's actually the First Run (this overrides kNoFirstRun). |
| 680 const char kForceFirstRun[] = "force-first-run"; | 669 const char kForceFirstRun[] = "force-first-run"; |
| 681 | 670 |
| 682 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 671 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| 683 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 672 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
| 684 // prefixed with the character "t" will be treated as Trigger Variation Ids. | 673 // prefixed with the character "t" will be treated as Trigger Variation Ids. |
| 685 const char kForceVariationIds[] = "force-variation-ids"; | 674 const char kForceVariationIds[] = "force-variation-ids"; |
| 686 | 675 |
| 687 // Specifies a custom name for the GSSAPI library to load. | |
| 688 const char kGSSAPILibraryName[] = "gssapi-library-name"; | |
| 689 | |
| 690 // These flags show the man page on Linux. They are equivalent to each | 676 // These flags show the man page on Linux. They are equivalent to each |
| 691 // other. | 677 // other. |
| 692 const char kHelp[] = "help"; | 678 const char kHelp[] = "help"; |
| 693 const char kHelpShort[] = "h"; | 679 const char kHelpShort[] = "h"; |
| 694 | 680 |
| 695 // Makes Windows happy by allowing it to show "Enable access to this program" | 681 // Makes Windows happy by allowing it to show "Enable access to this program" |
| 696 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only | 682 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only |
| 697 // shows an error box because the only way to hide Chrome is by uninstalling | 683 // shows an error box because the only way to hide Chrome is by uninstalling |
| 698 // it. | 684 // it. |
| 699 const char kHideIcons[] = "hide-icons"; | 685 const char kHideIcons[] = "hide-icons"; |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1406 | 1392 |
| 1407 // ----------------------------------------------------------------------------- | 1393 // ----------------------------------------------------------------------------- |
| 1408 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1394 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1409 // | 1395 // |
| 1410 // You were going to just dump your switches here, weren't you? Instead, please | 1396 // You were going to just dump your switches here, weren't you? Instead, please |
| 1411 // put them in alphabetical order above, or in order inside the appropriate | 1397 // put them in alphabetical order above, or in order inside the appropriate |
| 1412 // ifdef at the bottom. The order should match the header. | 1398 // ifdef at the bottom. The order should match the header. |
| 1413 // ----------------------------------------------------------------------------- | 1399 // ----------------------------------------------------------------------------- |
| 1414 | 1400 |
| 1415 } // namespace switches | 1401 } // namespace switches |
| OLD | NEW |