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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 extern const char kHostResolverParallelism[]; | 207 extern const char kHostResolverParallelism[]; |
208 extern const char kHostResolverRetryAttempts[]; | 208 extern const char kHostResolverRetryAttempts[]; |
209 extern const char kHostResolverRules[]; | 209 extern const char kHostResolverRules[]; |
210 extern const char kHstsHosts[]; | 210 extern const char kHstsHosts[]; |
211 extern const char kIgnoreGpuBlacklist[]; | 211 extern const char kIgnoreGpuBlacklist[]; |
212 extern const char kImport[]; | 212 extern const char kImport[]; |
213 extern const char kImportFromFile[]; | 213 extern const char kImportFromFile[]; |
214 extern const char kIncognito[]; | 214 extern const char kIncognito[]; |
215 extern const char kInstantURL[]; | 215 extern const char kInstantURL[]; |
216 extern const char kKeepAliveForTest[]; | 216 extern const char kKeepAliveForTest[]; |
| 217 extern const char kKioskMode[]; |
| 218 extern const char kKioskModePrinting[]; |
217 extern const char kLoadComponentExtension[]; | 219 extern const char kLoadComponentExtension[]; |
218 extern const char kLoadExtension[]; | 220 extern const char kLoadExtension[]; |
219 extern const char kLoadOpencryptoki[]; | 221 extern const char kLoadOpencryptoki[]; |
220 extern const char kUninstallExtension[]; | 222 extern const char kUninstallExtension[]; |
221 extern const char kLogNetLog[]; | 223 extern const char kLogNetLog[]; |
222 extern const char kMakeDefaultBrowser[]; | 224 extern const char kMakeDefaultBrowser[]; |
223 extern const char kManaged[]; | 225 extern const char kManaged[]; |
224 extern const char kMediaCacheSize[]; | 226 extern const char kMediaCacheSize[]; |
225 extern const char kMemoryProfiling[]; | 227 extern const char kMemoryProfiling[]; |
226 extern const char kMessageLoopHistogrammer[]; | 228 extern const char kMessageLoopHistogrammer[]; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 #endif | 397 #endif |
396 #endif | 398 #endif |
397 | 399 |
398 #if defined(OS_MACOSX) | 400 #if defined(OS_MACOSX) |
399 extern const char kEnableExposeForTabs[]; | 401 extern const char kEnableExposeForTabs[]; |
400 extern const char kKeychainReauthorize[]; | 402 extern const char kKeychainReauthorize[]; |
401 extern const char kRelauncherProcess[]; | 403 extern const char kRelauncherProcess[]; |
402 extern const char kUseMockKeychain[]; | 404 extern const char kUseMockKeychain[]; |
403 #endif | 405 #endif |
404 | 406 |
405 #if !defined(OS_MACOSX) | |
406 extern const char kKioskMode[]; | |
407 extern const char kKioskModePrinting[]; | |
408 #endif | |
409 | |
410 #if defined(OS_WIN) | 407 #if defined(OS_WIN) |
411 extern const char kDisableDesktopShortcuts[]; | 408 extern const char kDisableDesktopShortcuts[]; |
412 #endif | 409 #endif |
413 | 410 |
414 #if defined(USE_AURA) | 411 #if defined(USE_AURA) |
415 extern const char kDisableTCVA[]; | 412 extern const char kDisableTCVA[]; |
416 extern const char kOpenAsh[]; | 413 extern const char kOpenAsh[]; |
417 #endif | 414 #endif |
418 | 415 |
419 #ifndef NDEBUG | 416 #ifndef NDEBUG |
420 extern const char kFileManagerExtensionPath[]; | 417 extern const char kFileManagerExtensionPath[]; |
421 extern const char kDumpProfileDependencyGraph[]; | 418 extern const char kDumpProfileDependencyGraph[]; |
422 #endif | 419 #endif |
423 | 420 |
424 #if defined(GOOGLE_CHROME_BUILD) | 421 #if defined(GOOGLE_CHROME_BUILD) |
425 extern const char kDisablePrintPreview[]; | 422 extern const char kDisablePrintPreview[]; |
426 #else | 423 #else |
427 extern const char kEnablePrintPreview[]; | 424 extern const char kEnablePrintPreview[]; |
428 #endif | 425 #endif |
429 | 426 |
430 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 427 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
431 // alphabetical order, or in one of the ifdefs (also in order in each section). | 428 // alphabetical order, or in one of the ifdefs (also in order in each section). |
432 | 429 |
433 } // namespace switches | 430 } // namespace switches |
434 | 431 |
435 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 432 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |