| 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/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" | 14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" |
| 15 #include "components/password_manager/core/common/password_manager_switches.h" | 15 #include "components/password_manager/core/common/password_manager_switches.h" |
| 16 #include "components/signin/core/common/signin_switches.h" | 16 #include "components/signin/core/common/signin_switches.h" |
| 17 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
| 18 | 18 |
| 19 namespace switches { | 19 namespace switches { |
| 20 | 20 |
| 21 // ----------------------------------------------------------------------------- | 21 // ----------------------------------------------------------------------------- |
| 22 // Can't find the switch you are looking for? Try looking in | 22 // Can't find the switch you are looking for? Try looking in |
| 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 kActivateExistingProfileBrowser[]; | |
| 31 extern const char kAllowCrossOriginAuthPrompt[]; | 30 extern const char kAllowCrossOriginAuthPrompt[]; |
| 32 extern const char kAllowFileAccess[]; | 31 extern const char kAllowFileAccess[]; |
| 33 extern const char kAllowHttpScreenCapture[]; | 32 extern const char kAllowHttpScreenCapture[]; |
| 34 extern const char kAllowOutdatedPlugins[]; | 33 extern const char kAllowOutdatedPlugins[]; |
| 35 extern const char kAllowRunningInsecureContent[]; | 34 extern const char kAllowRunningInsecureContent[]; |
| 36 extern const char kAlternateProtocolProbabilityThreshold[]; | 35 extern const char kAlternateProtocolProbabilityThreshold[]; |
| 37 extern const char kAlwaysAuthorizePlugins[]; | 36 extern const char kAlwaysAuthorizePlugins[]; |
| 38 extern const char kAppId[]; | 37 extern const char kAppId[]; |
| 39 extern const char kApp[]; | 38 extern const char kApp[]; |
| 40 extern const char kAppsCheckoutURL[]; | 39 extern const char kAppsCheckoutURL[]; |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 #if defined(OS_CHROMEOS) | 406 #if defined(OS_CHROMEOS) |
| 408 bool PowerOverlayEnabled(); | 407 bool PowerOverlayEnabled(); |
| 409 #endif | 408 #endif |
| 410 | 409 |
| 411 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 410 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 412 // alphabetical order, or in one of the ifdefs (also in order in each section). | 411 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 413 | 412 |
| 414 } // namespace switches | 413 } // namespace switches |
| 415 | 414 |
| 416 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 415 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |