| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 | 12 |
| 13 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
| 14 #include "content/common/content_switches.h" | 14 #include "content/common/content_switches.h" |
| 15 | 15 |
| 16 namespace switches { | 16 namespace switches { |
| 17 | 17 |
| 18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
| 19 // Can't find the switch you are looking for? Try looking in | 19 // Can't find the switch you are looking for? Try looking in |
| 20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or | 20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or |
| 21 // content/common/content_switches.cc or media/base/media_switches.cc instead. | 21 // content/common/content_switches.cc or media/base/media_switches.cc instead. |
| 22 // ----------------------------------------------------------------------------- | 22 // ----------------------------------------------------------------------------- |
| 23 | 23 |
| 24 // All switches in alphabetical order. The switches should be documented | 24 // All switches in alphabetical order. The switches should be documented |
| 25 // alongside the definition of their values in the .cc file. | 25 // alongside the definition of their values in the .cc file. |
| 26 extern const char kAllowCrossOriginAuthPrompt[]; | 26 extern const char kAllowCrossOriginAuthPrompt[]; |
| 27 extern const char kAllowFileAccess[]; | 27 extern const char kAllowFileAccess[]; |
| 28 extern const char kAllowHTTPBackgroundPage[]; |
| 28 extern const char kAllowOutdatedPlugins[]; | 29 extern const char kAllowOutdatedPlugins[]; |
| 29 extern const char kAllowHTTPBackgroundPage[]; | 30 extern const char kAllowRunningInsecureContent[]; |
| 30 extern const char kAllowScriptingGallery[]; | 31 extern const char kAllowScriptingGallery[]; |
| 31 extern const char kAllowWebSocketProxy[]; | 32 extern const char kAllowWebSocketProxy[]; |
| 32 extern const char kAllowWebUICompositing[]; | 33 extern const char kAllowWebUICompositing[]; |
| 33 extern const char kAlwaysAuthorizePlugins[]; | 34 extern const char kAlwaysAuthorizePlugins[]; |
| 34 extern const char kAppId[]; | 35 extern const char kAppId[]; |
| 35 extern const char kApp[]; | 36 extern const char kApp[]; |
| 36 extern const char kAppsCheckoutURL[]; | 37 extern const char kAppsCheckoutURL[]; |
| 37 extern const char kAppsGalleryReturnTokens[]; | 38 extern const char kAppsGalleryReturnTokens[]; |
| 38 extern const char kAppsGalleryURL[]; | 39 extern const char kAppsGalleryURL[]; |
| 39 extern const char kAppsGalleryUpdateURL[]; | 40 extern const char kAppsGalleryUpdateURL[]; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 extern const char kMetricsRecordingOnly[]; | 199 extern const char kMetricsRecordingOnly[]; |
| 199 extern const char kMinClearSiteDataFlashVersion[]; | 200 extern const char kMinClearSiteDataFlashVersion[]; |
| 200 extern const char kMultiProfiles[]; | 201 extern const char kMultiProfiles[]; |
| 201 extern const char kNaClDebugIP[]; | 202 extern const char kNaClDebugIP[]; |
| 202 extern const char kNaClDebugPorts[]; | 203 extern const char kNaClDebugPorts[]; |
| 203 extern const char kNaClLoaderCmdPrefix[]; | 204 extern const char kNaClLoaderCmdPrefix[]; |
| 204 extern const char kNaClStartupDialog[]; | 205 extern const char kNaClStartupDialog[]; |
| 205 extern const char kNetLogLevel[]; | 206 extern const char kNetLogLevel[]; |
| 206 extern const char kNewTabPage[]; | 207 extern const char kNewTabPage[]; |
| 207 extern const char kNoDefaultBrowserCheck[]; | 208 extern const char kNoDefaultBrowserCheck[]; |
| 209 extern const char kNoDisplayingInsecureContent[]; |
| 208 extern const char kNoEvents[]; | 210 extern const char kNoEvents[]; |
| 209 extern const char kNoExperiments[]; | 211 extern const char kNoExperiments[]; |
| 210 extern const char kNoFirstRun[]; | 212 extern const char kNoFirstRun[]; |
| 211 extern const char kNoProxyServer[]; | 213 extern const char kNoProxyServer[]; |
| 212 extern const char kNoPings[]; | 214 extern const char kNoPings[]; |
| 215 extern const char kNoRunningInsecureContent[]; |
| 213 extern const char kNoServiceAutorun[]; | 216 extern const char kNoServiceAutorun[]; |
| 214 extern const char kNoStartupWindow[]; | 217 extern const char kNoStartupWindow[]; |
| 215 extern const char kNotifyCloudPrintTokenExpired[]; | 218 extern const char kNotifyCloudPrintTokenExpired[]; |
| 216 extern const char kNumPacThreads[]; | 219 extern const char kNumPacThreads[]; |
| 217 extern const char kOpenInNewWindow[]; | 220 extern const char kOpenInNewWindow[]; |
| 218 extern const char kOrganicInstall[]; | 221 extern const char kOrganicInstall[]; |
| 219 extern const char kPackExtension[]; | 222 extern const char kPackExtension[]; |
| 220 extern const char kPackExtensionKey[]; | 223 extern const char kPackExtensionKey[]; |
| 221 extern const char kParentProfile[]; | 224 extern const char kParentProfile[]; |
| 222 extern const char kPpapiFlashInProcess[]; | 225 extern const char kPpapiFlashInProcess[]; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 bool IsPrintPreviewEnabled(); | 366 bool IsPrintPreviewEnabled(); |
| 364 | 367 |
| 365 bool IsInBrowserThumbnailingEnabled(); | 368 bool IsInBrowserThumbnailingEnabled(); |
| 366 | 369 |
| 367 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 370 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 368 // alphabetical order, or in one of the ifdefs (also in order in each section). | 371 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 369 | 372 |
| 370 } // namespace switches | 373 } // namespace switches |
| 371 | 374 |
| 372 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 375 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |