diff options
author | jabdelmalek@google.com <jabdelmalek@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 01:55:43 +0000 |
---|---|---|
committer | jabdelmalek@google.com <jabdelmalek@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 01:55:43 +0000 |
commit | 35941fdf7a367e4a20778dfe89ec397b36ce301d (patch) | |
tree | f8b0598cdbfd8c53f9896b77b899081b0ad68508 /chrome/app | |
parent | f30f04cb5fd0d2108ddca89e311937fbe45cfa09 (diff) | |
download | chromium_src-35941fdf7a367e4a20778dfe89ec397b36ce301d.zip chromium_src-35941fdf7a367e4a20778dfe89ec397b36ce301d.tar.gz chromium_src-35941fdf7a367e4a20778dfe89ec397b36ce301d.tar.bz2 |
Renable sending page urls in renderer crashes on Mac.
Review URL: http://codereview.chromium.org/149370
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/breakpad_mac.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm index 87c8fe3..0356258 100644 --- a/chrome/app/breakpad_mac.mm +++ b/chrome/app/breakpad_mac.mm @@ -13,6 +13,7 @@ #import "base/scoped_nsautorelease_pool.h" #include "base/sys_string_conversions.h" #import "breakpad/src/client/mac/Framework/Breakpad.h" +#include "chrome/common/child_process_logging.h" #include "chrome/installer/util/google_update_settings.h" extern "C" { @@ -110,6 +111,10 @@ void InitCrashReporter() { NSString* prod_name_str = [info_dictionary objectForKey:@BREAKPAD_PRODUCT]; SetCrashKeyValue(@"prod", prod_name_str); SetCrashKeyValue(@"plat", @"OS X"); + + // Enable child process crashes to include the page url. + child_process_logging::SetCrashKeyFunctions( + SetCrashKeyValue, ClearCrashKeyValue); } void InitCrashProcessInfo() { |