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