aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.h
blob: b4f4c921c9c4a399d204b324631724d5d42d0e5e (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	2024-02-21 00:20:34 UTC
+++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
@@ -28,7 +28,7 @@ class ProcessMonitor;
 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)