Index: chrome/installer/setup/installer_metrics.cc |
diff --git a/chrome/installer/setup/installer_metrics.cc b/chrome/installer/setup/installer_metrics.cc |
index 5bf860ced29b3c91050db9928e21e0ef669d8075..ccc7ac413209db72a1143de2461de7bcc92bfd4e 100644 |
--- a/chrome/installer/setup/installer_metrics.cc |
+++ b/chrome/installer/setup/installer_metrics.cc |
@@ -21,6 +21,10 @@ void BeginPersistentHistogramStorage() { |
installer::kSetupHistogramAllocatorName); |
base::PersistentHistogramAllocator::GetGlobalAllocator() |
->CreateTrackingHistograms(installer::kSetupHistogramAllocatorName); |
+ |
+ // This can't be enabled until after the allocator is configured because |
+ // there is no other reporting out of setup other than persistent memory. |
+ base::HistogramBase::EnableActivityReportHistogram("setup"); |
} |
void EndPersistentHistogramStorage(const base::FilePath& target_path) { |