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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 extern const char kEnableSuggestionsTabPage[]; | 195 extern const char kEnableSuggestionsTabPage[]; |
198 extern const char kEnableSyncSyncedNotifications[]; | 196 extern const char kEnableSyncSyncedNotifications[]; |
199 extern const char kEnableTabGroupsContextMenu[]; | 197 extern const char kEnableTabGroupsContextMenu[]; |
200 extern const char kEnableThumbnailRetargeting[]; | 198 extern const char kEnableThumbnailRetargeting[]; |
201 extern const char kEnableTranslateSettings[]; | 199 extern const char kEnableTranslateSettings[]; |
202 extern const char kEnableUnrestrictedSSL3Fallback[]; | 200 extern const char kEnableUnrestrictedSSL3Fallback[]; |
203 extern const char kEnableUserAlternateProtocolPorts[]; | 201 extern const char kEnableUserAlternateProtocolPorts[]; |
204 extern const char kEnableWatchdog[]; | 202 extern const char kEnableWatchdog[]; |
205 extern const char kEnableWebSocketOverSpdy[]; | 203 extern const char kEnableWebSocketOverSpdy[]; |
206 extern const char kExtensionsInActionBox[]; | 204 extern const char kExtensionsInActionBox[]; |
207 extern const char kExtensionsOnChromeURLs[]; | |
208 extern const char kEventPageIdleTime[]; | 205 extern const char kEventPageIdleTime[]; |
209 extern const char kEventPageSuspendingTime[]; | 206 extern const char kEventPageSuspendingTime[]; |
210 extern const char kExplicitlyAllowedPorts[]; | 207 extern const char kExplicitlyAllowedPorts[]; |
211 extern const char kExtensionProcess[]; | 208 extern const char kExtensionProcess[]; |
212 extern const char kExtensionsUpdateFrequency[]; | 209 extern const char kExtensionsUpdateFrequency[]; |
213 extern const char kExtraSearchQueryParams[]; | 210 extern const char kExtraSearchQueryParams[]; |
214 extern const char kFakeVariationsChannel[]; | 211 extern const char kFakeVariationsChannel[]; |
215 extern const char kFastStart[]; | 212 extern const char kFastStart[]; |
216 extern const char kFlagSwitchesBegin[]; | 213 extern const char kFlagSwitchesBegin[]; |
217 extern const char kFlagSwitchesEnd[]; | 214 extern const char kFlagSwitchesEnd[]; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 extern const char kSbDisableSideEffectFreeWhitelist[]; | 316 extern const char kSbDisableSideEffectFreeWhitelist[]; |
320 extern const char kSbDownloadFeedbackURL[]; | 317 extern const char kSbDownloadFeedbackURL[]; |
321 extern const char kSbEnableDownloadFeedback[]; | 318 extern const char kSbEnableDownloadFeedback[]; |
322 extern const char kScriptBadges[]; | 319 extern const char kScriptBadges[]; |
323 extern const char kScriptBubble[]; | 320 extern const char kScriptBubble[]; |
324 extern const char kServiceProcess[]; | 321 extern const char kServiceProcess[]; |
325 extern const char kSilentDebuggerExtensionAPI[]; | 322 extern const char kSilentDebuggerExtensionAPI[]; |
326 extern const char kSilentLaunch[]; | 323 extern const char kSilentLaunch[]; |
327 extern const char kSetToken[]; | 324 extern const char kSetToken[]; |
328 extern const char kShowAppList[]; | 325 extern const char kShowAppList[]; |
329 extern const char kShowComponentExtensionOptions[]; | |
330 extern const char kShowIcons[]; | 326 extern const char kShowIcons[]; |
331 extern const char kShowLauncherAlignmentMenu[]; | 327 extern const char kShowLauncherAlignmentMenu[]; |
332 extern const char kSigninProcess[]; | 328 extern const char kSigninProcess[]; |
333 extern const char kSilentDumpOnDCHECK[]; | 329 extern const char kSilentDumpOnDCHECK[]; |
334 extern const char kSimulateUpgrade[]; | 330 extern const char kSimulateUpgrade[]; |
335 extern const char kSimulateCriticalUpdate[]; | 331 extern const char kSimulateCriticalUpdate[]; |
336 extern const char kSimulateOutdated[]; | 332 extern const char kSimulateOutdated[]; |
337 extern const char kSpeculativeResourcePrefetching[]; | 333 extern const char kSpeculativeResourcePrefetching[]; |
338 extern const char kSpeculativeResourcePrefetchingDisabled[]; | 334 extern const char kSpeculativeResourcePrefetchingDisabled[]; |
339 extern const char kSpeculativeResourcePrefetchingLearning[]; | 335 extern const char kSpeculativeResourcePrefetchingLearning[]; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 #else | 443 #else |
448 extern const char kEnablePrintPreview[]; | 444 extern const char kEnablePrintPreview[]; |
449 #endif | 445 #endif |
450 | 446 |
451 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 447 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
452 // alphabetical order, or in one of the ifdefs (also in order in each section). | 448 // alphabetical order, or in one of the ifdefs (also in order in each section). |
453 | 449 |
454 } // namespace switches | 450 } // namespace switches |
455 | 451 |
456 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 452 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |