diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/base_switches.cc | 7 | ||||
-rw-r--r-- | base/base_switches.h | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc index d6b7d02..c6dce9b 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -54,4 +54,11 @@ const char kWaitForDebugger[] = "wait-for-debugger"; // Sends a pretty-printed version of tracing info to the console. const char kTraceToConsole[] = "trace-to-console"; +#if defined(OS_POSIX) +// Used for turning on Breakpad crash reporting in a debug environment where +// crash reporting is typically compiled but disabled. +const char kEnableCrashReporterForTesting[] = + "enable-crash-reporter-for-testing"; +#endif + } // namespace switches diff --git a/base/base_switches.h b/base/base_switches.h index 1d8a8a8..33b2b68 100644 --- a/base/base_switches.h +++ b/base/base_switches.h @@ -23,6 +23,10 @@ extern const char kVModule[]; extern const char kWaitForDebugger[]; extern const char kTraceToConsole[]; +#if defined(OS_POSIX) +extern const char kEnableCrashReporterForTesting[]; +#endif + } // namespace switches #endif // BASE_BASE_SWITCHES_H_ |