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 kEnableLowEndDeviceMode[]; | 19 extern const char kEnableLowEndDeviceMode[]; |
20 extern const char kForceFieldTrials[]; | 20 extern const char kForceFieldTrials[]; |
21 extern const char kFullMemoryCrashReport[]; | 21 extern const char kFullMemoryCrashReport[]; |
22 extern const char kNoErrorDialogs[]; | 22 extern const char kNoErrorDialogs[]; |
23 extern const char kProfilerTiming[]; | 23 extern const char kProfilerTiming[]; |
24 extern const char kProfilerTimingDisabledValue[]; | 24 extern const char kProfilerTimingDisabledValue[]; |
| 25 extern const char kProfilingFile[]; |
25 extern const char kTestChildProcess[]; | 26 extern const char kTestChildProcess[]; |
26 extern const char kTestDoNotInitializeIcu[]; | 27 extern const char kTestDoNotInitializeIcu[]; |
27 extern const char kTraceToFile[]; | 28 extern const char kTraceToFile[]; |
28 extern const char kTraceToFileName[]; | 29 extern const char kTraceToFileName[]; |
29 extern const char kV[]; | 30 extern const char kV[]; |
30 extern const char kVModule[]; | 31 extern const char kVModule[]; |
31 extern const char kWaitForDebugger[]; | 32 extern const char kWaitForDebugger[]; |
32 | 33 |
33 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
34 extern const char kDisableUsbKeyboardDetect[]; | 35 extern const char kDisableUsbKeyboardDetect[]; |
35 #endif | 36 #endif |
36 | 37 |
37 #if defined(OS_POSIX) | 38 #if defined(OS_POSIX) |
38 extern const char kEnableCrashReporterForTesting[]; | 39 extern const char kEnableCrashReporterForTesting[]; |
39 #endif | 40 #endif |
40 | 41 |
41 } // namespace switches | 42 } // namespace switches |
42 | 43 |
43 #endif // BASE_BASE_SWITCHES_H_ | 44 #endif // BASE_BASE_SWITCHES_H_ |
OLD | NEW |