forked from Lainports/opnsense-ports
29 lines
1.2 KiB
C++
29 lines
1.2 KiB
C++
--- chrome/browser/browser_process_impl.cc.orig 2024-08-14 20:54:34 UTC
|
|
+++ chrome/browser/browser_process_impl.cc
|
|
@@ -227,7 +227,7 @@
|
|
#include "chrome/browser/ui/profiles/profile_picker.h"
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include "chrome/browser/error_reporting/chrome_js_error_report_processor.h" // nogncheck
|
|
#endif
|
|
|
|
@@ -1277,7 +1277,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
|
|
|
|
ApplyMetricsReportingPolicy();
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
ChromeJsErrorReportProcessor::Create();
|
|
#endif
|
|
|
|
@@ -1615,7 +1615,7 @@ void BrowserProcessImpl::Unpin() {
|
|
// Mac is currently not supported.
|
|
// TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is
|
|
// complete.
|
|
-#if BUILDFLAG(IS_WIN) || (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
+#if BUILDFLAG(IS_WIN) || (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_BSD)
|
|
|
|
bool BrowserProcessImpl::IsRunningInBackground() const {
|
|
// Check if browser is in the background.
|