| 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" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // instead. | 22 // instead. |
| 23 // ----------------------------------------------------------------------------- | 23 // ----------------------------------------------------------------------------- |
| 24 | 24 |
| 25 // All switches in alphabetical order. The switches should be documented | 25 // All switches in alphabetical order. The switches should be documented |
| 26 // alongside the definition of their values in the .cc file. | 26 // alongside the definition of their values in the .cc file. |
| 27 extern const char kActionBox[]; | 27 extern const char kActionBox[]; |
| 28 extern const char kAllowCrossOriginAuthPrompt[]; | 28 extern const char kAllowCrossOriginAuthPrompt[]; |
| 29 extern const char kAllowFileAccess[]; | 29 extern const char kAllowFileAccess[]; |
| 30 extern const char kAllowHTTPBackgroundPage[]; | 30 extern const char kAllowHTTPBackgroundPage[]; |
| 31 extern const char kAllowHttpScreenCapture[]; | 31 extern const char kAllowHttpScreenCapture[]; |
| 32 extern const char kAllowLegacyExtensionManifests[]; | |
| 33 extern const char kAllowNaClCrxFsAPI[]; | 32 extern const char kAllowNaClCrxFsAPI[]; |
| 34 extern const char kAllowNaClFileHandleAPI[]; | 33 extern const char kAllowNaClFileHandleAPI[]; |
| 35 extern const char kAllowNaClSocketAPI[]; | 34 extern const char kAllowNaClSocketAPI[]; |
| 36 extern const char kAllowOutdatedPlugins[]; | 35 extern const char kAllowOutdatedPlugins[]; |
| 37 extern const char kAllowRunningInsecureContent[]; | 36 extern const char kAllowRunningInsecureContent[]; |
| 38 extern const char kAllowScriptingGallery[]; | |
| 39 extern const char kAlwaysAuthorizePlugins[]; | 37 extern const char kAlwaysAuthorizePlugins[]; |
| 40 extern const char kAppId[]; | 38 extern const char kAppId[]; |
| 41 extern const char kApp[]; | 39 extern const char kApp[]; |
| 42 extern const char kAppsDevtool[]; | 40 extern const char kAppsDevtool[]; |
| 43 extern const char kAppWindowSize[]; | 41 extern const char kAppWindowSize[]; |
| 44 extern const char kAppsCheckoutURL[]; | 42 extern const char kAppsCheckoutURL[]; |
| 45 extern const char kAppsGalleryDownloadURL[]; | 43 extern const char kAppsGalleryDownloadURL[]; |
| 46 extern const char kAppsGalleryInstallAutoConfirmForTests[]; | 44 extern const char kAppsGalleryInstallAutoConfirmForTests[]; |
| 47 extern const char kAppsGalleryURL[]; | 45 extern const char kAppsGalleryURL[]; |
| 48 extern const char kAppsGalleryUpdateURL[]; | 46 extern const char kAppsGalleryUpdateURL[]; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 extern const char kEnableSuggestionsTabPage[]; | 194 extern const char kEnableSuggestionsTabPage[]; |
| 197 extern const char kEnableSyncSyncedNotifications[]; | 195 extern const char kEnableSyncSyncedNotifications[]; |
| 198 extern const char kEnableTabGroupsContextMenu[]; | 196 extern const char kEnableTabGroupsContextMenu[]; |
| 199 extern const char kEnableThumbnailRetargeting[]; | 197 extern const char kEnableThumbnailRetargeting[]; |
| 200 extern const char kEnableTranslateSettings[]; | 198 extern const char kEnableTranslateSettings[]; |
| 201 extern const char kEnableUnrestrictedSSL3Fallback[]; | 199 extern const char kEnableUnrestrictedSSL3Fallback[]; |
| 202 extern const char kEnableUserAlternateProtocolPorts[]; | 200 extern const char kEnableUserAlternateProtocolPorts[]; |
| 203 extern const char kEnableWatchdog[]; | 201 extern const char kEnableWatchdog[]; |
| 204 extern const char kEnableWebSocketOverSpdy[]; | 202 extern const char kEnableWebSocketOverSpdy[]; |
| 205 extern const char kExtensionsInActionBox[]; | 203 extern const char kExtensionsInActionBox[]; |
| 206 extern const char kExtensionsOnChromeURLs[]; | |
| 207 extern const char kEventPageIdleTime[]; | 204 extern const char kEventPageIdleTime[]; |
| 208 extern const char kEventPageSuspendingTime[]; | 205 extern const char kEventPageSuspendingTime[]; |
| 209 extern const char kExplicitlyAllowedPorts[]; | 206 extern const char kExplicitlyAllowedPorts[]; |
| 210 extern const char kExtensionProcess[]; | 207 extern const char kExtensionProcess[]; |
| 211 extern const char kExtensionsUpdateFrequency[]; | 208 extern const char kExtensionsUpdateFrequency[]; |
| 212 extern const char kExtraSearchQueryParams[]; | 209 extern const char kExtraSearchQueryParams[]; |
| 213 extern const char kFakeVariationsChannel[]; | 210 extern const char kFakeVariationsChannel[]; |
| 214 extern const char kFastStart[]; | 211 extern const char kFastStart[]; |
| 215 extern const char kFlagSwitchesBegin[]; | 212 extern const char kFlagSwitchesBegin[]; |
| 216 extern const char kFlagSwitchesEnd[]; | 213 extern const char kFlagSwitchesEnd[]; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 extern const char kSbDisableSideEffectFreeWhitelist[]; | 317 extern const char kSbDisableSideEffectFreeWhitelist[]; |
| 321 extern const char kSbDownloadFeedbackURL[]; | 318 extern const char kSbDownloadFeedbackURL[]; |
| 322 extern const char kSbEnableDownloadFeedback[]; | 319 extern const char kSbEnableDownloadFeedback[]; |
| 323 extern const char kScriptBadges[]; | 320 extern const char kScriptBadges[]; |
| 324 extern const char kScriptBubble[]; | 321 extern const char kScriptBubble[]; |
| 325 extern const char kServiceProcess[]; | 322 extern const char kServiceProcess[]; |
| 326 extern const char kSilentDebuggerExtensionAPI[]; | 323 extern const char kSilentDebuggerExtensionAPI[]; |
| 327 extern const char kSilentLaunch[]; | 324 extern const char kSilentLaunch[]; |
| 328 extern const char kSetToken[]; | 325 extern const char kSetToken[]; |
| 329 extern const char kShowAppList[]; | 326 extern const char kShowAppList[]; |
| 330 extern const char kShowComponentExtensionOptions[]; | |
| 331 extern const char kShowIcons[]; | 327 extern const char kShowIcons[]; |
| 332 extern const char kShowLauncherAlignmentMenu[]; | 328 extern const char kShowLauncherAlignmentMenu[]; |
| 333 extern const char kSigninProcess[]; | 329 extern const char kSigninProcess[]; |
| 334 extern const char kSilentDumpOnDCHECK[]; | 330 extern const char kSilentDumpOnDCHECK[]; |
| 335 extern const char kSimulateUpgrade[]; | 331 extern const char kSimulateUpgrade[]; |
| 336 extern const char kSimulateCriticalUpdate[]; | 332 extern const char kSimulateCriticalUpdate[]; |
| 337 extern const char kSimulateOutdated[]; | 333 extern const char kSimulateOutdated[]; |
| 338 extern const char kSpeculativeResourcePrefetching[]; | 334 extern const char kSpeculativeResourcePrefetching[]; |
| 339 extern const char kSpeculativeResourcePrefetchingDisabled[]; | 335 extern const char kSpeculativeResourcePrefetchingDisabled[]; |
| 340 extern const char kSpeculativeResourcePrefetchingLearning[]; | 336 extern const char kSpeculativeResourcePrefetchingLearning[]; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 #else | 445 #else |
| 450 extern const char kEnablePrintPreview[]; | 446 extern const char kEnablePrintPreview[]; |
| 451 #endif | 447 #endif |
| 452 | 448 |
| 453 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 449 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 454 // alphabetical order, or in one of the ifdefs (also in order in each section). | 450 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 455 | 451 |
| 456 } // namespace switches | 452 } // namespace switches |
| 457 | 453 |
| 458 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 454 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |