From abaa71c990b2d9dd514e9f2eefb1d2cf7b720562 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Tue, 28 Jul 2009 01:18:35 +0000 Subject: Linux: add internal core dump reporting. In order to get a handle on a number of browser crashes, this patch adds an options for Google internal folks to upload full core files when the browser crashes. The core files are uploaded to an internal IP address and will be available to other developers. This is only enabled for Chrome branded builds and then, only if --google-internal-crash-reporting is given on the command line. http://codereview.chromium.org/160212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21782 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/browser_main.cc') diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index f4e139b..a975ef3 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -249,7 +249,8 @@ int BrowserMain(const MainFunctionParams& parameters) { #if defined(OS_LINUX) // Needs to be called after we have chrome::DIR_USER_DATA. - InitCrashReporter(); + if (!parsed_command_line.HasSwitch(switches::kGoogleInternalCrashReporting)) + InitCrashReporter(); #endif // WARNING: If we get a WM_ENDSESSION objects created on the stack here -- cgit v1.1