summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/base_switches.cc13
-rw-r--r--base/base_switches.h5
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_