| 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 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
| 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 | 11 |
| 12 #include "base/base_switches.h" | 12 #include "base/base_switches.h" |
| 13 #include "components/autofill/core/common/autofill_switches.h" | 13 #include "components/autofill/core/common/autofill_switches.h" |
| 14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" | 14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" |
| 15 #include "components/password_manager/core/common/password_manager_switches.h" | 15 #include "components/password_manager/core/common/password_manager_switches.h" |
| 16 #include "components/signin/core/common/signin_switches.h" | 16 #include "components/signin/core/common/signin_switches.h" |
| 17 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
| 18 | 18 |
| 19 namespace switches { | 19 namespace switches { |
| 20 | 20 |
| 21 // ----------------------------------------------------------------------------- | 21 // ----------------------------------------------------------------------------- |
| 22 // Can't find the switch you are looking for? Try looking in | 22 // Can't find the switch you are looking for? Try looking in |
| 23 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 23 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
| 24 // .cc files corresponding to the *_switches.h files included above | 24 // .cc files corresponding to the *_switches.h files included above |
| 25 // instead. | 25 // instead. |
| 26 // ----------------------------------------------------------------------------- | 26 // ----------------------------------------------------------------------------- |
| 27 | 27 |
| 28 // All switches in alphabetical order. The switches should be documented | 28 // All switches in alphabetical order. The switches should be documented |
| 29 // alongside the definition of their values in the .cc file. | 29 // alongside the definition of their values in the .cc file. |
| 30 extern const char kActivateExistingProfileBrowser[]; |
| 30 extern const char kAllowCrossOriginAuthPrompt[]; | 31 extern const char kAllowCrossOriginAuthPrompt[]; |
| 31 extern const char kAllowFileAccess[]; | 32 extern const char kAllowFileAccess[]; |
| 32 extern const char kAllowHttpScreenCapture[]; | 33 extern const char kAllowHttpScreenCapture[]; |
| 33 extern const char kAllowOutdatedPlugins[]; | 34 extern const char kAllowOutdatedPlugins[]; |
| 34 extern const char kAllowRunningInsecureContent[]; | 35 extern const char kAllowRunningInsecureContent[]; |
| 35 extern const char kAlternateProtocolProbabilityThreshold[]; | 36 extern const char kAlternateProtocolProbabilityThreshold[]; |
| 36 extern const char kAlwaysAuthorizePlugins[]; | 37 extern const char kAlwaysAuthorizePlugins[]; |
| 37 extern const char kAppId[]; | 38 extern const char kAppId[]; |
| 38 extern const char kApp[]; | 39 extern const char kApp[]; |
| 39 extern const char kAppListStartPageURL[]; | 40 extern const char kAppListStartPageURL[]; |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 extern const char kUseSimpleCacheBackend[]; | 336 extern const char kUseSimpleCacheBackend[]; |
| 336 extern const char kUseSpdy[]; | 337 extern const char kUseSpdy[]; |
| 337 extern const char kUserAgent[]; | 338 extern const char kUserAgent[]; |
| 338 extern const char kUserDataDir[]; | 339 extern const char kUserDataDir[]; |
| 339 extern const char kValidateCrx[]; | 340 extern const char kValidateCrx[]; |
| 340 extern const char kVariationsServerURL[]; | 341 extern const char kVariationsServerURL[]; |
| 341 extern const char kVersion[]; | 342 extern const char kVersion[]; |
| 342 extern const char kWindowPosition[]; | 343 extern const char kWindowPosition[]; |
| 343 extern const char kWindowSize[]; | 344 extern const char kWindowSize[]; |
| 344 extern const char kWinHttpProxyResolver[]; | 345 extern const char kWinHttpProxyResolver[]; |
| 346 extern const char kWinJumplistAction[]; |
| 345 | 347 |
| 346 #if defined(ENABLE_PLUGIN_INSTALLATION) | 348 #if defined(ENABLE_PLUGIN_INSTALLATION) |
| 347 extern const char kPluginsMetadataServerURL[]; | 349 extern const char kPluginsMetadataServerURL[]; |
| 348 #endif | 350 #endif |
| 349 | 351 |
| 350 #if defined(OS_ANDROID) | 352 #if defined(OS_ANDROID) |
| 351 extern const char kDisableCast[]; | 353 extern const char kDisableCast[]; |
| 352 extern const char kDisableContextualSearch[]; | 354 extern const char kDisableContextualSearch[]; |
| 353 extern const char kDisableZeroSuggest[]; | 355 extern const char kDisableZeroSuggest[]; |
| 354 extern const char kEnableAccessibilityTabSwitcher[]; | 356 extern const char kEnableAccessibilityTabSwitcher[]; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 #if defined(OS_CHROMEOS) | 410 #if defined(OS_CHROMEOS) |
| 409 bool PowerOverlayEnabled(); | 411 bool PowerOverlayEnabled(); |
| 410 #endif | 412 #endif |
| 411 | 413 |
| 412 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 414 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 413 // alphabetical order, or in one of the ifdefs (also in order in each section). | 415 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 414 | 416 |
| 415 } // namespace switches | 417 } // namespace switches |
| 416 | 418 |
| 417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 419 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |