aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.h
blob: 5f989fad5d27dfe88952e056bb4e404e5f6f65b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h.orig	2023-07-24 14:27:53 UTC
+++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
@@ -32,7 +32,7 @@ class PowerMetricsReporter;
 class ProcessMonitor;
 #endif
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 class PressureMetricsReporter;
 #endif  // BUILDFLAG(IS_LINUX)
 
@@ -133,7 +133,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)