| 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 12 matching lines...) Expand all Loading... |
| 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 kAllowCrossOriginAuthPrompt[]; | 30 extern const char kAllowCrossOriginAuthPrompt[]; |
| 31 extern const char kAllowFileAccess[]; | 31 extern const char kAllowFileAccess[]; |
| 32 extern const char kAllowHttpScreenCapture[]; | 32 extern const char kAllowHttpScreenCapture[]; |
| 33 extern const char kAllowNaClCrxFsAPI[]; | |
| 34 extern const char kAllowNaClFileHandleAPI[]; | |
| 35 extern const char kAllowNaClSocketAPI[]; | |
| 36 extern const char kAllowOutdatedPlugins[]; | 33 extern const char kAllowOutdatedPlugins[]; |
| 37 extern const char kAllowRunningInsecureContent[]; | 34 extern const char kAllowRunningInsecureContent[]; |
| 38 extern const char kAlternateProtocolProbabilityThreshold[]; | 35 extern const char kAlternateProtocolProbabilityThreshold[]; |
| 39 extern const char kAlwaysAuthorizePlugins[]; | 36 extern const char kAlwaysAuthorizePlugins[]; |
| 40 extern const char kAppId[]; | 37 extern const char kAppId[]; |
| 41 extern const char kApp[]; | 38 extern const char kApp[]; |
| 42 extern const char kAppListStartPageURL[]; | 39 extern const char kAppListStartPageURL[]; |
| 43 extern const char kAppsCheckoutURL[]; | 40 extern const char kAppsCheckoutURL[]; |
| 44 extern const char kAppsGalleryDownloadURL[]; | 41 extern const char kAppsGalleryDownloadURL[]; |
| 45 extern const char kAppsGalleryURL[]; | 42 extern const char kAppsGalleryURL[]; |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 extern const char kViewerConnect[]; | 394 extern const char kViewerConnect[]; |
| 398 extern const char kViewerLaunchViaAppId[]; | 395 extern const char kViewerLaunchViaAppId[]; |
| 399 extern const char kWaitForMutex[]; | 396 extern const char kWaitForMutex[]; |
| 400 extern const char kWindows8Search[]; | 397 extern const char kWindows8Search[]; |
| 401 #endif | 398 #endif |
| 402 | 399 |
| 403 #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD) | 400 #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD) |
| 404 extern const char kDebugPrint[]; | 401 extern const char kDebugPrint[]; |
| 405 #endif | 402 #endif |
| 406 | 403 |
| 404 #if defined(ENABLE_PLUGINS) |
| 405 extern const char kAllowNaClCrxFsAPI[]; |
| 406 extern const char kAllowNaClFileHandleAPI[]; |
| 407 extern const char kAllowNaClSocketAPI[]; |
| 408 #endif |
| 409 |
| 407 #ifndef NDEBUG | 410 #ifndef NDEBUG |
| 408 extern const char kFileManagerExtensionPath[]; | 411 extern const char kFileManagerExtensionPath[]; |
| 409 #endif | 412 #endif |
| 410 | 413 |
| 411 bool SettingsWindowEnabled(); | 414 bool SettingsWindowEnabled(); |
| 412 | 415 |
| 413 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 416 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 414 // alphabetical order, or in one of the ifdefs (also in order in each section). | 417 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 415 | 418 |
| 416 } // namespace switches | 419 } // namespace switches |
| 417 | 420 |
| 418 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 421 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |