[email protected] | 3455af4e | 2012-03-12 15:35:12 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
initial.commit | d7cae12 | 2008-07-26 21:49:38 | [diff] [blame] | 4 | |
5 | // Defines all the "base" command-line switches. | ||||
6 | |||||
[email protected] | 71a76d0 | 2009-03-17 12:47:14 | [diff] [blame] | 7 | #ifndef BASE_BASE_SWITCHES_H_ |
8 | #define BASE_BASE_SWITCHES_H_ | ||||
initial.commit | d7cae12 | 2008-07-26 21:49:38 | [diff] [blame] | 9 | |
[email protected] | 8ab19f69 | 2013-07-18 08:09:32 | [diff] [blame] | 10 | #include "build/build_config.h" |
Darin Fisher | ab221bb | 2020-08-06 18:06:07 | [diff] [blame] | 11 | #include "build/lacros_buildflags.h" |
[email protected] | 8ab19f69 | 2013-07-18 08:09:32 | [diff] [blame] | 12 | |
initial.commit | d7cae12 | 2008-07-26 21:49:38 | [diff] [blame] | 13 | namespace switches { |
14 | |||||
Yue Ru Sun | a50a80f | 2019-02-08 05:02:58 | [diff] [blame] | 15 | extern const char kDisableBestEffortTasks[]; |
[email protected] | 46fe10d6 | 2011-05-26 22:03:28 | [diff] [blame] | 16 | extern const char kDisableBreakpad[]; |
Trent Apted | c5e504d | 2017-10-26 23:19:26 | [diff] [blame] | 17 | extern const char kDisableFeatures[]; |
ruuda | 07bb15e | 2015-10-12 12:30:41 | [diff] [blame] | 18 | extern const char kDisableLowEndDeviceMode[]; |
[email protected] | f672776 | 2013-10-22 21:19:01 | [diff] [blame] | 19 | extern const char kEnableCrashReporter[]; |
Trent Apted | c5e504d | 2017-10-26 23:19:26 | [diff] [blame] | 20 | extern const char kEnableFeatures[]; |
ruuda | 07bb15e | 2015-10-12 12:30:41 | [diff] [blame] | 21 | extern const char kEnableLowEndDeviceMode[]; |
blundell | 6e85b7c | 2015-09-29 12:33:35 | [diff] [blame] | 22 | extern const char kForceFieldTrials[]; |
[email protected] | 46fe10d6 | 2011-05-26 22:03:28 | [diff] [blame] | 23 | extern const char kFullMemoryCrashReport[]; |
Francois Doray | 177da2c | 2019-06-20 14:14:22 | [diff] [blame] | 24 | extern const char kLogBestEffortTasks[]; |
[email protected] | 46fe10d6 | 2011-05-26 22:03:28 | [diff] [blame] | 25 | extern const char kNoErrorDialogs[]; |
Bryce Thomas | 96b0777 | 2018-11-07 03:04:15 | [diff] [blame] | 26 | extern const char kProfilingAtStart[]; |
fsamuel | 2573dfb | 2016-07-08 23:02:44 | [diff] [blame] | 27 | extern const char kProfilingFile[]; |
Bryce Thomas | 96b0777 | 2018-11-07 03:04:15 | [diff] [blame] | 28 | extern const char kProfilingFlush[]; |
[email protected] | 46fe10d6 | 2011-05-26 22:03:28 | [diff] [blame] | 29 | extern const char kTestChildProcess[]; |
wfh | 8f20e83 | 2016-03-12 02:09:59 | [diff] [blame] | 30 | extern const char kTestDoNotInitializeIcu[]; |
enne | 04213de | 2014-09-25 19:49:56 | [diff] [blame] | 31 | extern const char kTraceToFile[]; |
32 | extern const char kTraceToFileName[]; | ||||
[email protected] | 46fe10d6 | 2011-05-26 22:03:28 | [diff] [blame] | 33 | extern const char kV[]; |
34 | extern const char kVModule[]; | ||||
35 | extern const char kWaitForDebugger[]; | ||||
initial.commit | d7cae12 | 2008-07-26 21:49:38 | [diff] [blame] | 36 | |
jschuh | b156d5b | 2015-06-23 13:36:28 | [diff] [blame] | 37 | #if defined(OS_WIN) |
Brandon Walderman | ac7514b | 2019-08-05 21:20:01 | [diff] [blame] | 38 | extern const char kDisableHighResTimer[]; |
jschuh | b156d5b | 2015-06-23 13:36:28 | [diff] [blame] | 39 | extern const char kDisableUsbKeyboardDetect[]; |
40 | #endif | ||||
41 | |||||
Darin Fisher | ab221bb | 2020-08-06 18:06:07 | [diff] [blame] | 42 | #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS) |
David Vallet | 1824e57 | 2017-12-14 00:46:08 | [diff] [blame] | 43 | extern const char kDisableDevShmUsage[]; |
44 | #endif | ||||
45 | |||||
[email protected] | 6664958a | 2013-11-07 08:35:29 | [diff] [blame] | 46 | #if defined(OS_POSIX) |
47 | extern const char kEnableCrashReporterForTesting[]; | ||||
48 | #endif | ||||
49 | |||||
Benoit Lize | 3c35531 | 2017-11-23 15:32:26 | [diff] [blame] | 50 | #if defined(OS_ANDROID) |
Alexandr Ilin | 0455bb9 | 2019-02-12 11:52:43 | [diff] [blame] | 51 | extern const char kEnableReachedCodeProfiler[]; |
ssid | 12cd16a | 2020-06-26 00:05:02 | [diff] [blame] | 52 | extern const char kReachedCodeSamplingIntervalUs[]; |
Nate Fischer | 646065c | 2020-08-11 02:36:09 | [diff] [blame^] | 53 | extern const char kDefaultCountryCodeAtInstall[]; |
54 | extern const char kEnableIdleTracing[]; | ||||
55 | extern const char kForceFieldTrialParams[]; | ||||
Benoit Lize | 3c35531 | 2017-11-23 15:32:26 | [diff] [blame] | 56 | #endif |
57 | |||||
Andrew Comminos | 6605767 | 2019-05-01 00:03:34 | [diff] [blame] | 58 | #if defined(OS_LINUX) |
59 | extern const char kEnableThreadInstructionCount[]; | ||||
60 | #endif | ||||
61 | |||||
initial.commit | d7cae12 | 2008-07-26 21:49:38 | [diff] [blame] | 62 | } // namespace switches |
63 | |||||
[email protected] | 71a76d0 | 2009-03-17 12:47:14 | [diff] [blame] | 64 | #endif // BASE_BASE_SWITCHES_H_ |