Index: chrome/browser/chrome_browser_main_mac.mm |
diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm |
index 7c15afc39204cf8c1c2096c7256df15939b114de..98c1591d2ef865d57b8ce618c5b4b6dd522c239b 100644 |
--- a/chrome/browser/chrome_browser_main_mac.mm |
+++ b/chrome/browser/chrome_browser_main_mac.mm |
@@ -24,7 +24,7 @@ |
#include "chrome/browser/ui/app_list/app_list_service.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
-#include "components/crash/app/breakpad_mac.h" |
+#include "components/crash/app/crashpad_mac.h" |
#include "components/metrics/metrics_service.h" |
#include "content/public/common/main_function_params.h" |
#include "content/public/common/result_codes.h" |
@@ -292,8 +292,9 @@ void ChromeBrowserMainPartsMac::PostProfileInit() { |
MacStartupProfiler::GetInstance()->Profile( |
MacStartupProfiler::POST_PROFILE_INIT); |
ChromeBrowserMainPartsPosix::PostProfileInit(); |
+ |
g_browser_process->metrics_service()->RecordBreakpadRegistration( |
- breakpad::IsCrashReporterEnabled()); |
+ crash_reporter::GetUploadsEnabled()); |
} |
void ChromeBrowserMainPartsMac::DidEndMainMessageLoop() { |