aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.h
blob: 193b5133c7b2b03ad20b601514b9349567d416b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                                                       
                                                                    
                                             







                                             
                                                                          







                                                                         
--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h.orig	2024-02-23 21:04:38 UTC
+++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
@@ -28,7 +28,7 @@ class PowerMetricsReporter;
 class ProcessMonitor;
 #endif
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 class PressureMetricsReporter;
 #endif  // BUILDFLAG(IS_LINUX)
 
@@ -115,7 +115,7 @@ class ChromeBrowserMainExtraPartsMetrics : public Chro
   std::unique_ptr<BatteryDischargeReporter> battery_discharge_reporter_;
 #endif  // !BUILDFLAG(IS_ANDROID)
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Reports pressure metrics.
   std::unique_ptr<PressureMetricsReporter> pressure_metrics_reporter_;
 #endif  // BUILDFLAG(IS_LINUX)