base_switches.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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
  3. // found in the LICENSE file.
  4. // Defines all the "base" command-line switches.
  5. #ifndef BASE_BASE_SWITCHES_H_
  6. #define BASE_BASE_SWITCHES_H_
  7. #include "build/build_config.h"
  8. #include "build/chromeos_buildflags.h"
  9. namespace switches {
  10. extern const char kDisableBestEffortTasks[];
  11. extern const char kDisableBreakpad[];
  12. extern const char kDisableFeatures[];
  13. extern const char kDisableLowEndDeviceMode[];
  14. extern const char kEnableCrashReporter[];
  15. extern const char kEnableFeatures[];
  16. extern const char kEnableLowEndDeviceMode[];
  17. extern const char kForceFieldTrials[];
  18. extern const char kFullMemoryCrashReport[];
  19. extern const char kLogBestEffortTasks[];
  20. extern const char kNoErrorDialogs[];
  21. extern const char kProfilingAtStart[];
  22. extern const char kProfilingFile[];
  23. extern const char kProfilingFlush[];
  24. extern const char kTestChildProcess[];
  25. extern const char kTestDoNotInitializeIcu[];
  26. extern const char kTraceToFile[];
  27. extern const char kTraceToFileName[];
  28. extern const char kV[];
  29. extern const char kVModule[];
  30. extern const char kWaitForDebugger[];
  31. #if defined(OS_WIN)
  32. extern const char kDisableHighResTimer[];
  33. extern const char kDisableUsbKeyboardDetect[];
  34. #endif
  35. #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS)
  36. extern const char kDisableDevShmUsage[];
  37. #endif
  38. #if defined(OS_POSIX)
  39. extern const char kEnableCrashReporterForTesting[];
  40. #endif
  41. #if defined(OS_ANDROID)
  42. extern const char kEnableReachedCodeProfiler[];
  43. extern const char kReachedCodeSamplingIntervalUs[];
  44. extern const char kDefaultCountryCodeAtInstall[];
  45. extern const char kEnableIdleTracing[];
  46. extern const char kForceFieldTrialParams[];
  47. #endif
  48. #if defined(OS_LINUX) || defined(OS_CHROMEOS)
  49. extern const char kEnableThreadInstructionCount[];
  50. #endif
  51. } // namespace switches
  52. #endif // BASE_BASE_SWITCHES_H_