summaryrefslogtreecommitdiffstats
path: root/base/base_switches.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 21:19:01 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 21:19:01 +0000
commitf6727768e62018cf771952bf61618240e7b344e8 (patch)
tree108ec985bb8eb6deb95d3304284ce07bf1faf5eb /base/base_switches.cc
parent2f880aa477985ccadb8f3151ed7ddefad06113f1 (diff)
downloadchromium_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
Diffstat (limited to 'base/base_switches.cc')
-rw-r--r--base/base_switches.cc13
1 files changed, 5 insertions, 8 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