| 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 |
| 12 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 13 |
| 14 namespace { |
| 15 #include "base/base_switches.cc" |
| 16 } // namespace |
| 17 |
| 18 #else |
| 19 |
| 10 namespace switches { | 20 namespace switches { |
| 11 | 21 |
| 12 extern const char kDebugOnStart[]; | 22 extern const char kDebugOnStart[]; |
| 13 extern const char kDisableBreakpad[]; | 23 extern const char kDisableBreakpad[]; |
| 14 extern const char kEnableDCHECK[]; | 24 extern const char kEnableDCHECK[]; |
| 15 extern const char kFullMemoryCrashReport[]; | 25 extern const char kFullMemoryCrashReport[]; |
| 16 extern const char kNoErrorDialogs[]; | 26 extern const char kNoErrorDialogs[]; |
| 17 extern const char kTestChildProcess[]; | 27 extern const char kTestChildProcess[]; |
| 18 extern const char kV[]; | 28 extern const char kV[]; |
| 19 extern const char kVModule[]; | 29 extern const char kVModule[]; |
| 20 extern const char kWaitForDebugger[]; | 30 extern const char kWaitForDebugger[]; |
| 21 extern const char kTraceToConsole[]; | 31 extern const char kTraceToConsole[]; |
| 22 | 32 |
| 23 } // namespace switches | 33 } // namespace switches |
| 24 | 34 |
| 35 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 25 #endif // BASE_BASE_SWITCHES_H_ | 36 #endif // BASE_BASE_SWITCHES_H_ |
| OLD | NEW |