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" |
| 11 |
10 namespace switches { | 12 namespace switches { |
11 | 13 |
12 extern const char kDebugOnStart[]; | 14 extern const char kDebugOnStart[]; |
13 extern const char kDisableBreakpad[]; | 15 extern const char kDisableBreakpad[]; |
14 extern const char kEnableDCHECK[]; | 16 extern const char kEnableDCHECK[]; |
15 extern const char kFullMemoryCrashReport[]; | 17 extern const char kFullMemoryCrashReport[]; |
16 extern const char kNoErrorDialogs[]; | 18 extern const char kNoErrorDialogs[]; |
17 extern const char kTestChildProcess[]; | 19 extern const char kTestChildProcess[]; |
18 extern const char kV[]; | 20 extern const char kV[]; |
19 extern const char kVModule[]; | 21 extern const char kVModule[]; |
20 extern const char kWaitForDebugger[]; | 22 extern const char kWaitForDebugger[]; |
21 extern const char kTraceToConsole[]; | 23 extern const char kTraceToConsole[]; |
22 | 24 |
| 25 #if defined(OS_POSIX) |
| 26 extern const char kEnableCrashReporter[]; |
| 27 #endif |
| 28 |
23 } // namespace switches | 29 } // namespace switches |
24 | 30 |
25 #endif // BASE_BASE_SWITCHES_H_ | 31 #endif // BASE_BASE_SWITCHES_H_ |
OLD | NEW |