Chromium Code Reviews| Index: chrome/app/breakpad_mac.mm |
| diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm |
| index 3231b8562181b2323ce4c7905f8942d5436a6ded..d4549831acdbd520529a346e264e1776e7d42665 100644 |
| --- a/chrome/app/breakpad_mac.mm |
| +++ b/chrome/app/breakpad_mac.mm |
| @@ -27,6 +27,7 @@ |
| #include "chrome/common/child_process_logging.h" |
| #include "chrome/common/chrome_paths.h" |
| #include "chrome/common/chrome_switches.h" |
| +#include "chrome/common/crash_keys.h" |
| #include "chrome/common/env_vars.h" |
| #include "chrome/common/logging_chrome.h" |
| #include "chrome/installer/util/google_update_settings.h" |
| @@ -251,17 +252,17 @@ void InitCrashReporter() { |
| return; |
| } |
| + // Initialize the new scoped crash key system. |
|
Mark Mentovai
2013/01/15 21:31:03
It won’t be new three months from now, but nobody’
Robert Sesek
2013/01/15 21:40:50
Done.
|
| + base::debug::SetCrashKeyReportingFunctions(&SetCrashKeyValueImpl, |
| + &ClearCrashKeyValueImpl); |
| + crash_keys::RegisterChromeCrashKeys(); |
| + |
| // Set Breakpad metadata values. These values are added to Info.plist during |
| // the branded Google Chrome.app build. |
| SetCrashKeyValue(@"ver", [info_dictionary objectForKey:@BREAKPAD_VERSION]); |
| SetCrashKeyValue(@"prod", [info_dictionary objectForKey:@BREAKPAD_PRODUCT]); |
| SetCrashKeyValue(@"plat", @"OS X"); |
| - // Enable child process crashes to include the page URL. |
| - // TODO: Should this only be done for certain process types? |
| - base::debug::SetCrashKeyReportingFunctions(&SetCrashKeyValueImpl, |
| - &ClearCrashKeyValueImpl); |
| - |
| if (!is_browser) { |
| // Get the guid from the command line switch. |
| std::string guid = |