diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 01:18:35 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 01:18:35 +0000 |
commit | abaa71c990b2d9dd514e9f2eefb1d2cf7b720562 (patch) | |
tree | 202c89d876e45f30c44132122f885877210230b7 /chrome/browser/browser_main.cc | |
parent | b80d5016c18ad5816bbff0698ff3407e77feabf1 (diff) | |
download | chromium_src-abaa71c990b2d9dd514e9f2eefb1d2cf7b720562.zip chromium_src-abaa71c990b2d9dd514e9f2eefb1d2cf7b720562.tar.gz chromium_src-abaa71c990b2d9dd514e9f2eefb1d2cf7b720562.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |