| 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/password_manager/core/common/password_manager_switches.h" | 14 #include "components/password_manager/core/common/password_manager_switches.h" |
| 15 #include "components/signin/core/common/signin_switches.h" | 15 #include "components/signin/core/common/signin_switches.h" |
| 16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
| 17 | 17 |
| 18 namespace switches { | 18 namespace switches { |
| 19 | 19 |
| 20 // ----------------------------------------------------------------------------- | 20 // ----------------------------------------------------------------------------- |
| 21 // Can't find the switch you are looking for? Try looking in | 21 // Can't find the switch you are looking for? Try looking in |
| 22 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 22 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
| 23 // .cc files corresponding to the *_switches.h files included above | 23 // .cc files corresponding to the *_switches.h files included above |
| 24 // instead. | 24 // instead. |
| 25 // ----------------------------------------------------------------------------- | 25 // ----------------------------------------------------------------------------- |
| 26 | 26 |
| 27 // All switches in alphabetical order. The switches should be documented | 27 // All switches in alphabetical order. The switches should be documented |
| 28 // alongside the definition of their values in the .cc file. | 28 // alongside the definition of their values in the .cc file. |
| 29 extern const char kAllowCreateExistingManagedUsers[]; | |
| 30 extern const char kAllowCrossOriginAuthPrompt[]; | 29 extern const char kAllowCrossOriginAuthPrompt[]; |
| 31 extern const char kAllowFileAccess[]; | 30 extern const char kAllowFileAccess[]; |
| 32 extern const char kAllowHttpScreenCapture[]; | 31 extern const char kAllowHttpScreenCapture[]; |
| 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 kAlwaysAuthorizePlugins[]; | 37 extern const char kAlwaysAuthorizePlugins[]; |
| 39 extern const char kAppId[]; | 38 extern const char kAppId[]; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 extern const char kDiagnosticsRecovery[]; | 76 extern const char kDiagnosticsRecovery[]; |
| 78 extern const char kDisableAsyncDns[]; | 77 extern const char kDisableAsyncDns[]; |
| 79 extern const char kDisableAuthNegotiateCnameLookup[]; | 78 extern const char kDisableAuthNegotiateCnameLookup[]; |
| 80 extern const char kDisableBackgroundMode[]; | 79 extern const char kDisableBackgroundMode[]; |
| 81 extern const char kDisableBackgroundNetworking[]; | 80 extern const char kDisableBackgroundNetworking[]; |
| 82 extern const char kDisableBundledPpapiFlash[]; | 81 extern const char kDisableBundledPpapiFlash[]; |
| 83 extern const char kDisableClientSidePhishingDetection[]; | 82 extern const char kDisableClientSidePhishingDetection[]; |
| 84 extern const char kDisableComponentExtensionsWithBackgroundPages[]; | 83 extern const char kDisableComponentExtensionsWithBackgroundPages[]; |
| 85 extern const char kDisableComponentUpdate[]; | 84 extern const char kDisableComponentUpdate[]; |
| 86 extern const char kDisableCRLSets[]; | 85 extern const char kDisableCRLSets[]; |
| 87 extern const char kDisableCreateExistingManagedUsers[]; | |
| 88 extern const char kDisableDefaultApps[]; | 86 extern const char kDisableDefaultApps[]; |
| 89 extern const char kDisableDeviceDiscovery[]; | 87 extern const char kDisableDeviceDiscovery[]; |
| 90 extern const char kDisableDeviceDiscoveryNotifications[]; | 88 extern const char kDisableDeviceDiscoveryNotifications[]; |
| 91 extern const char kDisableDnsProbes[]; | 89 extern const char kDisableDnsProbes[]; |
| 92 extern const char kDisableDomainReliability[]; | 90 extern const char kDisableDomainReliability[]; |
| 93 extern const char kDisableExtensionsFileAccessCheck[]; | 91 extern const char kDisableExtensionsFileAccessCheck[]; |
| 94 extern const char kDisableExtensionsHttpThrottling[]; | 92 extern const char kDisableExtensionsHttpThrottling[]; |
| 95 extern const char kDisableExtensionsResourceWhitelist[]; | 93 extern const char kDisableExtensionsResourceWhitelist[]; |
| 96 extern const char kDisableExtensions[]; | 94 extern const char kDisableExtensions[]; |
| 97 extern const char kDisableFullscreenWithinTab[]; | 95 extern const char kDisableFullscreenWithinTab[]; |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 #else | 437 #else |
| 440 extern const char kEnablePrintPreview[]; | 438 extern const char kEnablePrintPreview[]; |
| 441 #endif | 439 #endif |
| 442 | 440 |
| 443 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 441 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 444 // alphabetical order, or in one of the ifdefs (also in order in each section). | 442 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 445 | 443 |
| 446 } // namespace switches | 444 } // namespace switches |
| 447 | 445 |
| 448 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 446 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |