From 0abe2cbeb51078bf2f14496fac9a1d7a2e21a919 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Sat, 15 Aug 2009 02:04:21 +0000 Subject: Change breakpads on the helper processes to keep our rimZ clean. Initialize crash reporting in helper processes such as the renderer process. Renderer crash reporting stopped working in r23006 when multiple .app bundles were introduced, because the stats collection and crash reporting preference is presently accessed via NSUserDefaults, keyed on the bundle ID. The main browser process and helper processes have distinct bundle IDs. In the new scheme, only the main browser process consults this preference, and passes it to helper processes in their command lines. BUG=19204 TEST=When reporting is enabled, Breakpad should pick up browser and renderer process crashes; When reporting is enabled, renderer should not log messages like [mmdd/hhmmss:WARNING:/path/to/breakpad_mac.mm(47)] Breakpad disabled; When reporting is disabled, browser and renderer should both log these messages. Review URL: http://codereview.chromium.org/165546 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23509 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_switches.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/common/chrome_switches.h') diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 976d88a..e3ff1a9 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -7,6 +7,7 @@ #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ #define CHROME_COMMON_CHROME_SWITCHES_H_ +#include "build/build_config.h" #include "base/base_switches.h" namespace switches { @@ -200,7 +201,9 @@ extern const wchar_t kEnableMonitorProfile[]; extern const wchar_t kEnableXSSAuditor[]; -extern const wchar_t kRendererCrashDump[]; +#if defined(OS_POSIX) +extern const wchar_t kEnableCrashReporter[]; +#endif extern const wchar_t kEnableTabtastic2[]; -- cgit v1.1