blob: 9abcdc018749063173e0b7ba997abbca61a66bc2 [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"
11
initial.commitd7cae122008-07-26 21:49:3812namespace switches {
13
Yue Ru Suna50a80f2019-02-08 05:02:5814extern const char kDisableBestEffortTasks[];
[email protected]46fe10d62011-05-26 22:03:2815extern const char kDisableBreakpad[];
Trent Aptedc5e504d2017-10-26 23:19:2616extern const char kDisableFeatures[];
ruuda07bb15e2015-10-12 12:30:4117extern const char kDisableLowEndDeviceMode[];
[email protected]f6727762013-10-22 21:19:0118extern const char kEnableCrashReporter[];
Trent Aptedc5e504d2017-10-26 23:19:2619extern const char kEnableFeatures[];
ruuda07bb15e2015-10-12 12:30:4120extern const char kEnableLowEndDeviceMode[];
Eric Seckler2802fc652021-03-16 23:33:0321extern const char kEnableBackgroundThreadPool[];
Fabrice de Gans24f4a802021-11-05 19:57:1422extern const char kFieldTrialHandle[];
blundell6e85b7c2015-09-29 12:33:3523extern const char kForceFieldTrials[];
[email protected]46fe10d62011-05-26 22:03:2824extern const char kFullMemoryCrashReport[];
Francois Doray177da2c2019-06-20 14:14:2225extern const char kLogBestEffortTasks[];
Roger McFarlanecba0e902024-01-24 17:51:3726extern const char kMetricsSharedMemoryHandle[];
[email protected]46fe10d62011-05-26 22:03:2827extern const char kNoErrorDialogs[];
Bryce Thomas96b07772018-11-07 03:04:1528extern const char kProfilingAtStart[];
fsamuel2573dfb2016-07-08 23:02:4429extern const char kProfilingFile[];
Bryce Thomas96b07772018-11-07 03:04:1530extern const char kProfilingFlush[];
[email protected]46fe10d62011-05-26 22:03:2831extern const char kTestChildProcess[];
enne04213de2014-09-25 19:49:5632extern const char kTraceToFile[];
33extern const char kTraceToFileName[];
[email protected]46fe10d62011-05-26 22:03:2834extern const char kV[];
35extern const char kVModule[];
36extern const char kWaitForDebugger[];
initial.commitd7cae122008-07-26 21:49:3837
Xiaohan Wang38e4ebb2022-01-19 06:57:4338#if BUILDFLAG(IS_WIN)
Brandon Waldermanac7514b2019-08-05 21:20:0139extern const char kDisableHighResTimer[];
jschuhb156d5b2015-06-23 13:36:2840extern const char kDisableUsbKeyboardDetect[];
Anthony Vallee-Dubois03427462025-04-28 21:09:5841extern const char kForceHighResTimeTicks[];
jschuhb156d5b2015-06-23 13:36:2842#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[];
Sirisha Kavuluru924e3702025-05-15 21:58:3556extern const char kForceDesktopAndroid[];
Rupert Ben Wiserd07d50fd2023-08-30 19:03:2657extern const char kHostPackageName[];
58extern const char kHostPackageLabel[];
59extern const char kHostVersionCode[];
60extern const char kPackageName[];
61extern const char kPackageVersionName[];
Benoit Lize3c355312017-11-23 15:32:2662#endif
63
Eric Willigers611cf542022-04-28 02:22:1464#if BUILDFLAG(IS_CHROMEOS)
Ikjoon Jang033c69e2020-12-15 08:18:1265extern const char kSchedulerBoostUrgent[];
66#endif
67
initial.commitd7cae122008-07-26 21:49:3868} // namespace switches
69
[email protected]71a76d02009-03-17 12:47:1470#endif // BASE_BASE_SWITCHES_H_