blob: bd869415c4b3045f2915aff23f72324cea72e43d [file] [log] [blame]
Avi Drissmane4622aa2022-09-08 20:36:061// Copyright 2012 The Chromium Authors
license.botbf09a502008-08-24 00:55:552// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
initial.commitd7cae122008-07-26 21:49:384
5// Defines all the "base" command-line switches.
6
[email protected]71a76d02009-03-17 12:47:147#ifndef BASE_BASE_SWITCHES_H_
8#define BASE_BASE_SWITCHES_H_
initial.commitd7cae122008-07-26 21:49:389
[email protected]8ab19f692013-07-18 08:09:3210#include "build/build_config.h"
Hidehiko Abe7c68f582020-09-03 15:47:2511#include "build/chromeos_buildflags.h"
[email protected]8ab19f692013-07-18 08:09:3212
initial.commitd7cae122008-07-26 21:49:3813namespace switches {
14
Yue Ru Suna50a80f2019-02-08 05:02:5815extern const char kDisableBestEffortTasks[];
[email protected]46fe10d62011-05-26 22:03:2816extern const char kDisableBreakpad[];
Trent Aptedc5e504d2017-10-26 23:19:2617extern const char kDisableFeatures[];
ruuda07bb15e2015-10-12 12:30:4118extern const char kDisableLowEndDeviceMode[];
[email protected]f6727762013-10-22 21:19:0119extern const char kEnableCrashReporter[];
Trent Aptedc5e504d2017-10-26 23:19:2620extern const char kEnableFeatures[];
ruuda07bb15e2015-10-12 12:30:4121extern const char kEnableLowEndDeviceMode[];
Eric Seckler2802fc652021-03-16 23:33:0322extern const char kEnableBackgroundThreadPool[];
Fabrice de Gans24f4a802021-11-05 19:57:1423extern const char kFieldTrialHandle[];
blundell6e85b7c2015-09-29 12:33:3524extern const char kForceFieldTrials[];
[email protected]46fe10d62011-05-26 22:03:2825extern const char kFullMemoryCrashReport[];
Francois Doray177da2c2019-06-20 14:14:2226extern const char kLogBestEffortTasks[];
Roger McFarlanecba0e902024-01-24 17:51:3727extern const char kMetricsSharedMemoryHandle[];
[email protected]46fe10d62011-05-26 22:03:2828extern const char kNoErrorDialogs[];
Bryce Thomas96b07772018-11-07 03:04:1529extern const char kProfilingAtStart[];
fsamuel2573dfb2016-07-08 23:02:4430extern const char kProfilingFile[];
Bryce Thomas96b07772018-11-07 03:04:1531extern const char kProfilingFlush[];
[email protected]46fe10d62011-05-26 22:03:2832extern const char kTestChildProcess[];
enne04213de2014-09-25 19:49:5633extern const char kTraceToFile[];
34extern const char kTraceToFileName[];
[email protected]46fe10d62011-05-26 22:03:2835extern const char kV[];
36extern const char kVModule[];
37extern const char kWaitForDebugger[];
initial.commitd7cae122008-07-26 21:49:3838
Xiaohan Wang38e4ebb2022-01-19 06:57:4339#if BUILDFLAG(IS_WIN)
Brandon Waldermanac7514b2019-08-05 21:20:0140extern const char kDisableHighResTimer[];
jschuhb156d5b2015-06-23 13:36:2841extern const char kDisableUsbKeyboardDetect[];
42#endif
43
Nick Diego Yamane6936d49d2023-03-22 20:10:0844#if BUILDFLAG(IS_LINUX)
David Vallet1824e572017-12-14 00:46:0845extern const char kDisableDevShmUsage[];
46#endif
47
Xiaohan Wang38e4ebb2022-01-19 06:57:4348#if BUILDFLAG(IS_POSIX)
[email protected]6664958a2013-11-07 08:35:2949extern const char kEnableCrashReporterForTesting[];
50#endif
51
Xiaohan Wang38e4ebb2022-01-19 06:57:4352#if BUILDFLAG(IS_ANDROID)
Bo Liu7e784bcc2024-12-20 19:58:2153extern const char kAndroidSkipChildServiceInitForTesting[];
Nate Fischer646065c2020-08-11 02:36:0954extern const char kDefaultCountryCodeAtInstall[];
55extern const char kEnableIdleTracing[];
Rupert Ben Wiserd07d50fd2023-08-30 19:03:2656extern const char kHostPackageName[];
57extern const char kHostPackageLabel[];
58extern const char kHostVersionCode[];
59extern const char kPackageName[];
60extern const char kPackageVersionName[];
Benoit Lize3c355312017-11-23 15:32:2661#endif
62
Eric Willigers611cf542022-04-28 02:22:1463#if BUILDFLAG(IS_CHROMEOS)
Ikjoon Jang033c69e2020-12-15 08:18:1264extern const char kSchedulerBoostUrgent[];
65#endif
66
initial.commitd7cae122008-07-26 21:49:3867} // namespace switches
68
[email protected]71a76d02009-03-17 12:47:1469#endif // BASE_BASE_SWITCHES_H_