Chromium Code Reviews| 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 // Configure whether profiler will contain timing information. This option is | |
|
Mark Mentovai
2013/12/05 23:54:04
Nit: the profiler (or reword).
qsr
2013/12/06 14:29:43
Done.
| |
| 27 // enabled by default. A value of 0 will disable profiler timing, while all | |
|
Mark Mentovai
2013/12/05 23:54:04
Put the zero in quotes so that it’s clearer that y
qsr
2013/12/06 14:29:43
Done.
| |
| 28 // other value will enable it. | |
|
Mark Mentovai
2013/12/05 23:54:04
Nit: values, plural, not value.
All of the other
qsr
2013/12/06 14:29:43
Done.
| |
| 29 extern const char kProfilerTiming[]; | |
| 30 | |
| 26 #if defined(OS_POSIX) | 31 #if defined(OS_POSIX) |
| 27 extern const char kEnableCrashReporterForTesting[]; | 32 extern const char kEnableCrashReporterForTesting[]; |
| 28 #endif | 33 #endif |
| 29 | 34 |
| 30 #if defined(OS_ANDROID) | 35 #if defined(OS_ANDROID) |
| 31 extern const char kDisableLowEndDeviceMode[]; | 36 extern const char kDisableLowEndDeviceMode[]; |
| 32 extern const char kEnableLowEndDeviceMode[]; | 37 extern const char kEnableLowEndDeviceMode[]; |
| 33 #endif | 38 #endif |
| 34 | 39 |
| 35 } // namespace switches | 40 } // namespace switches |
| 36 | 41 |
| 37 #endif // BASE_BASE_SWITCHES_H_ | 42 #endif // BASE_BASE_SWITCHES_H_ |
| OLD | NEW |