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 12 matching lines...) Expand all Loading... |
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 kAllowCrossOriginAuthPrompt[]; | 26 extern const char kAllowCrossOriginAuthPrompt[]; |
27 extern const char kAllowFileAccess[]; | 27 extern const char kAllowFileAccess[]; |
28 extern const char kAllowOutdatedPlugins[]; | 28 extern const char kAllowOutdatedPlugins[]; |
29 extern const char kAllowHTTPBackgroundPage[]; | 29 extern const char kAllowHTTPBackgroundPage[]; |
30 extern const char kAllowScriptingGallery[]; | 30 extern const char kAllowScriptingGallery[]; |
31 extern const char kAllowWebSocketProxy[]; | 31 extern const char kAllowWebSocketProxy[]; |
32 extern const char kAllowWebUICompositing[]; | 32 extern const char kAllowWebUICompositing[]; |
33 extern const char kAllowWebUIOobe[]; | |
34 extern const char kAlwaysAuthorizePlugins[]; | 33 extern const char kAlwaysAuthorizePlugins[]; |
35 extern const char kAppId[]; | 34 extern const char kAppId[]; |
36 extern const char kApp[]; | 35 extern const char kApp[]; |
37 extern const char kAppsCheckoutURL[]; | 36 extern const char kAppsCheckoutURL[]; |
38 extern const char kAppsGalleryReturnTokens[]; | 37 extern const char kAppsGalleryReturnTokens[]; |
39 extern const char kAppsGalleryURL[]; | 38 extern const char kAppsGalleryURL[]; |
40 extern const char kAppsGalleryUpdateURL[]; | 39 extern const char kAppsGalleryUpdateURL[]; |
41 extern const char kAppsNewInstallBubble[]; | 40 extern const char kAppsNewInstallBubble[]; |
42 extern const char kAppsNoThrob[]; | 41 extern const char kAppsNoThrob[]; |
43 extern const char kAuthNegotiateDelegateWhitelist[]; | 42 extern const char kAuthNegotiateDelegateWhitelist[]; |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 extern const char kIgnoreCertificateErrors[]; | 274 extern const char kIgnoreCertificateErrors[]; |
276 extern const char kMaxSpdySessionsPerDomain[]; | 275 extern const char kMaxSpdySessionsPerDomain[]; |
277 extern const char kMaxSpdyConcurrentStreams[]; | 276 extern const char kMaxSpdyConcurrentStreams[]; |
278 extern const char kUserDataDir[]; | 277 extern const char kUserDataDir[]; |
279 extern const char kUserScriptsDir[]; | 278 extern const char kUserScriptsDir[]; |
280 extern const char kVersion[]; | 279 extern const char kVersion[]; |
281 extern const char kWinHttpProxyResolver[]; | 280 extern const char kWinHttpProxyResolver[]; |
282 | 281 |
283 #if defined(OS_CHROMEOS) | 282 #if defined(OS_CHROMEOS) |
284 extern const char kWebUILogin[]; | 283 extern const char kWebUILogin[]; |
285 extern const char kWebUIGaiaLogin[]; | |
286 extern const char kSkipOAuthLogin[]; | 284 extern const char kSkipOAuthLogin[]; |
287 extern const char kEnableDevicePolicy[]; | 285 extern const char kEnableDevicePolicy[]; |
288 extern const char kEnableGView[]; | 286 extern const char kEnableGView[]; |
289 extern const char kEnableLoginImages[]; | 287 extern const char kEnableLoginImages[]; |
290 extern const char kEnableStaticIPConfig[]; | 288 extern const char kEnableStaticIPConfig[]; |
291 extern const char kLoginManager[]; | 289 extern const char kLoginManager[]; |
292 // TODO(avayvod): Remove this flag when it's unnecessary for testing | 290 // TODO(avayvod): Remove this flag when it's unnecessary for testing |
293 // purposes. | 291 // purposes. |
294 extern const char kLoginScreen[]; | 292 extern const char kLoginScreen[]; |
295 extern const char kLoginScreenSize[]; | 293 extern const char kLoginScreenSize[]; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 bool IsPrintPreviewEnabled(); | 368 bool IsPrintPreviewEnabled(); |
371 | 369 |
372 bool IsInBrowserThumbnailingEnabled(); | 370 bool IsInBrowserThumbnailingEnabled(); |
373 | 371 |
374 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 372 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
375 // alphabetical order, or in one of the ifdefs (also in order in each section). | 373 // alphabetical order, or in one of the ifdefs (also in order in each section). |
376 | 374 |
377 } // namespace switches | 375 } // namespace switches |
378 | 376 |
379 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 377 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |