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 kDebugOnStart[]; | 14 extern const char kDebugOnStart[]; |
15 extern const char kDisableBreakpad[]; | 15 extern const char kDisableBreakpad[]; |
16 extern const char kEnableCrashReporter[]; | 16 extern const char kEnableCrashReporter[]; |
17 extern const char kEnableDCHECK[]; | 17 extern const char kEnableDCHECK[]; |
18 extern const char kFullMemoryCrashReport[]; | 18 extern const char kFullMemoryCrashReport[]; |
19 extern const char kNoErrorDialogs[]; | 19 extern const char kNoErrorDialogs[]; |
20 extern const char kTestChildProcess[]; | 20 extern const char kTestChildProcess[]; |
21 extern const char kV[]; | 21 extern const char kV[]; |
22 extern const char kVModule[]; | 22 extern const char kVModule[]; |
23 extern const char kWaitForDebugger[]; | 23 extern const char kWaitForDebugger[]; |
24 extern const char kTraceToConsole[]; | 24 extern const char kTraceToConsole[]; |
25 | 25 |
26 #if defined(OS_POSIX) | 26 #if defined(OS_POSIX) |
27 extern const char kEnableCrashReporterForTesting[]; | 27 extern const char kEnableCrashReporterForTesting[]; |
28 #endif | 28 #endif |
29 | 29 |
| 30 #if defined(OS_ANDROID) |
| 31 extern const char kDisableLowEndDeviceMode[]; |
| 32 extern const char kEnableLowEndDeviceMode[]; |
| 33 #endif |
| 34 |
30 } // namespace switches | 35 } // namespace switches |
31 | 36 |
32 #endif // BASE_BASE_SWITCHES_H_ | 37 #endif // BASE_BASE_SWITCHES_H_ |
OLD | NEW |