OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Defines all the "base" command-line switches. | 5 // Defines all the "base" command-line switches. |
6 | 6 |
7 #ifndef BASE_BASE_SWITCHES_H_ | 7 #ifndef BASE_BASE_SWITCHES_H_ |
8 #define BASE_BASE_SWITCHES_H_ | 8 #define BASE_BASE_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 | 11 |
12 namespace switches { | 12 namespace switches { |
13 | 13 |
14 extern const char kDisableBreakpad[]; | 14 extern const char kDisableBreakpad[]; |
15 extern const char kDisableLowEndDeviceMode[]; | 15 extern const char kDisableLowEndDeviceMode[]; |
16 extern const char kEnableCrashReporter[]; | 16 extern const char kEnableCrashReporter[]; |
17 extern const char kEnableHeapProfiling[]; | 17 extern const char kEnableHeapProfiling[]; |
18 extern const char kEnableHeapProfilingModeNative[]; | 18 extern const char kEnableHeapProfilingModeNative[]; |
| 19 extern const char kEnableHeapProfilingTaskProfiler[]; |
19 extern const char kEnableLowEndDeviceMode[]; | 20 extern const char kEnableLowEndDeviceMode[]; |
20 extern const char kForceFieldTrials[]; | 21 extern const char kForceFieldTrials[]; |
21 extern const char kFullMemoryCrashReport[]; | 22 extern const char kFullMemoryCrashReport[]; |
22 extern const char kNoErrorDialogs[]; | 23 extern const char kNoErrorDialogs[]; |
23 extern const char kProfilerTiming[]; | 24 extern const char kProfilerTiming[]; |
24 extern const char kProfilerTimingDisabledValue[]; | 25 extern const char kProfilerTimingDisabledValue[]; |
25 extern const char kProfilingFile[]; | 26 extern const char kProfilingFile[]; |
26 extern const char kTestChildProcess[]; | 27 extern const char kTestChildProcess[]; |
27 extern const char kTestDoNotInitializeIcu[]; | 28 extern const char kTestDoNotInitializeIcu[]; |
28 extern const char kTraceToFile[]; | 29 extern const char kTraceToFile[]; |
29 extern const char kTraceToFileName[]; | 30 extern const char kTraceToFileName[]; |
30 extern const char kV[]; | 31 extern const char kV[]; |
31 extern const char kVModule[]; | 32 extern const char kVModule[]; |
32 extern const char kWaitForDebugger[]; | 33 extern const char kWaitForDebugger[]; |
33 | 34 |
34 #if defined(OS_WIN) | 35 #if defined(OS_WIN) |
35 extern const char kDisableUsbKeyboardDetect[]; | 36 extern const char kDisableUsbKeyboardDetect[]; |
36 #endif | 37 #endif |
37 | 38 |
38 #if defined(OS_POSIX) | 39 #if defined(OS_POSIX) |
39 extern const char kEnableCrashReporterForTesting[]; | 40 extern const char kEnableCrashReporterForTesting[]; |
40 #endif | 41 #endif |
41 | 42 |
42 } // namespace switches | 43 } // namespace switches |
43 | 44 |
44 #endif // BASE_BASE_SWITCHES_H_ | 45 #endif // BASE_BASE_SWITCHES_H_ |
OLD | NEW |