mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
29 lines
1.2 KiB
C++
29 lines
1.2 KiB
C++
--- chrome/browser/browser_process_impl.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ chrome/browser/browser_process_impl.cc
|
|
@@ -211,7 +211,7 @@
|
|
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.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
|
|
|
|
@@ -1183,7 +1183,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
|
|
|
|
@@ -1443,7 +1443,7 @@ void BrowserProcessImpl::Unpin() {
|
|
// Mac is currently not supported.
|
|
// TODO(crbug.com/1052397): 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.
|