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 |
(...skipping 11 matching lines...) Expand all Loading... |
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 kActivateOnLaunch[]; | 26 extern const char kActivateOnLaunch[]; |
27 extern const char kAllowCrossOriginAuthPrompt[]; | 27 extern const char kAllowCrossOriginAuthPrompt[]; |
28 extern const char kAllowFileAccess[]; | 28 extern const char kAllowFileAccess[]; |
29 extern const char kAllowOutdatedPlugins[]; | 29 extern const char kAllowOutdatedPlugins[]; |
30 extern const char kAllowHTTPBackgroundPage[]; | 30 extern const char kAllowHTTPBackgroundPage[]; |
31 extern const char kAllowScriptingGallery[]; | 31 extern const char kAllowScriptingGallery[]; |
| 32 extern const char kAllowWebSocketProxy[]; |
32 extern const char kAlwaysAuthorizePlugins[]; | 33 extern const char kAlwaysAuthorizePlugins[]; |
33 extern const char kAlwaysEnableDevTools[]; | 34 extern const char kAlwaysEnableDevTools[]; |
34 extern const char kApp[]; | 35 extern const char kApp[]; |
35 extern const char kAppId[]; | 36 extern const char kAppId[]; |
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[]; |
40 extern const char kAppsNoThrob[]; | 41 extern const char kAppsNoThrob[]; |
41 extern const char kAuthNegotiateDelegateWhitelist[]; | 42 extern const char kAuthNegotiateDelegateWhitelist[]; |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 #endif | 356 #endif |
356 | 357 |
357 bool IsPrintPreviewEnabled(); | 358 bool IsPrintPreviewEnabled(); |
358 | 359 |
359 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 360 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
360 // alphabetical order, or in one of the ifdefs (also in order in each section). | 361 // alphabetical order, or in one of the ifdefs (also in order in each section). |
361 | 362 |
362 } // namespace switches | 363 } // namespace switches |
363 | 364 |
364 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 365 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |