| 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 "content/public/common/content_switches.h" | 14 #include "content/public/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 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 20 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
| 21 // .cc files corresponding to the *_switches.h files included above | 21 // .cc files corresponding to the *_switches.h files included above |
| 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 kAllowCreateExistingManagedUsers[]; | 27 extern const char kAllowCreateExistingManagedUsers[]; |
| 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[]; | |
| 31 extern const char kAllowHttpScreenCapture[]; | 30 extern const char kAllowHttpScreenCapture[]; |
| 32 extern const char kAllowNaClCrxFsAPI[]; | 31 extern const char kAllowNaClCrxFsAPI[]; |
| 33 extern const char kAllowNaClFileHandleAPI[]; | 32 extern const char kAllowNaClFileHandleAPI[]; |
| 34 extern const char kAllowNaClSocketAPI[]; | 33 extern const char kAllowNaClSocketAPI[]; |
| 35 extern const char kAllowOutdatedPlugins[]; | 34 extern const char kAllowOutdatedPlugins[]; |
| 36 extern const char kAllowRunningInsecureContent[]; | 35 extern const char kAllowRunningInsecureContent[]; |
| 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 kAppListStartPageURL[]; | 39 extern const char kAppListStartPageURL[]; |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 #else | 468 #else |
| 470 extern const char kEnablePrintPreview[]; | 469 extern const char kEnablePrintPreview[]; |
| 471 #endif | 470 #endif |
| 472 | 471 |
| 473 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 472 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 474 // alphabetical order, or in one of the ifdefs (also in order in each section). | 473 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 475 | 474 |
| 476 } // namespace switches | 475 } // namespace switches |
| 477 | 476 |
| 478 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 477 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |