diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 21:19:01 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 21:19:01 +0000 |
commit | f6727768e62018cf771952bf61618240e7b344e8 (patch) | |
tree | 108ec985bb8eb6deb95d3304284ce07bf1faf5eb | |
parent | 2f880aa477985ccadb8f3151ed7ddefad06113f1 (diff) | |
download | chromium_src-f6727768e62018cf771952bf61618240e7b344e8.zip chromium_src-f6727768e62018cf771952bf61618240e7b344e8.tar.gz chromium_src-f6727768e62018cf771952bf61618240e7b344e8.tar.bz2 |
Define the --enable-crash-reporting flag on all platforms.
BUG=none
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/28423003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230209 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/base_switches.cc | 13 | ||||
-rw-r--r-- | base/base_switches.h | 5 |
2 files changed, 6 insertions, 12 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc index bdd7b62..d6b7d02 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -15,6 +15,11 @@ const char kDebugOnStart[] = "debug-on-start"; // Disables the crash reporting. const char kDisableBreakpad[] = "disable-breakpad"; +// Indicates that crash reporting should be enabled. On platforms where helper +// processes cannot access to files needed to make this decision, this flag is +// generated internally. +const char kEnableCrashReporter[] = "enable-crash-reporter"; + // Enable DCHECKs in release mode. const char kEnableDCHECK[] = "enable-dcheck"; @@ -49,12 +54,4 @@ 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) -// A flag, generated internally for renderer and other helper process command -// lines on Linux and Mac. It tells the helper process to enable crash dumping -// and reporting, because helpers cannot access the files needed to make this -// decision. -const char kEnableCrashReporter[] = "enable-crash-reporter"; -#endif - } // namespace switches diff --git a/base/base_switches.h b/base/base_switches.h index 7686e76..1d8a8a8 100644 --- a/base/base_switches.h +++ b/base/base_switches.h @@ -13,6 +13,7 @@ namespace switches { extern const char kDebugOnStart[]; extern const char kDisableBreakpad[]; +extern const char kEnableCrashReporter[]; extern const char kEnableDCHECK[]; extern const char kFullMemoryCrashReport[]; extern const char kNoErrorDialogs[]; @@ -22,10 +23,6 @@ extern const char kVModule[]; extern const char kWaitForDebugger[]; extern const char kTraceToConsole[]; -#if defined(OS_POSIX) -extern const char kEnableCrashReporter[]; -#endif - } // namespace switches #endif // BASE_BASE_SWITCHES_H_ |