Index: chrome/installer/setup/installer_metrics.cc |
diff --git a/chrome/installer/setup/installer_metrics.cc b/chrome/installer/setup/installer_metrics.cc |
index 8e5f0443e437f7589493be0818c56ef397cf2b17..5826b1c4b6372f7a0bb3245d3469a9b616d89ce6 100644 |
--- a/chrome/installer/setup/installer_metrics.cc |
+++ b/chrome/installer/setup/installer_metrics.cc |
@@ -21,6 +21,10 @@ void BeginPersistentHistogramStorage() { |
installer::kSetupHistogramAllocatorName)); |
base::GetPersistentHistogramMemoryAllocator()->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) { |