2023-03-13 11:56:24 +01:00
|
|
|
--- chrome/browser/browser_process_impl.cc.orig 2023-03-13 07:33:08 UTC
|
2022-03-30 17:18:34 +02:00
|
|
|
+++ chrome/browser/browser_process_impl.cc
|
2023-03-13 11:56:24 +01:00
|
|
|
@@ -212,7 +212,7 @@
|
2022-03-30 17:18:34 +02:00
|
|
|
#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
|
|
|
|
|
2023-03-13 11:56:24 +01:00
|
|
|
@@ -1190,7 +1190,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
|
2022-03-30 17:18:34 +02:00
|
|
|
|
|
|
|
ApplyMetricsReportingPolicy();
|
|
|
|
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
|
|
ChromeJsErrorReportProcessor::Create();
|
|
|
|
#endif
|
|
|
|
|
2023-03-13 11:56:24 +01:00
|
|
|
@@ -1450,7 +1450,7 @@ void BrowserProcessImpl::Unpin() {
|
2022-03-30 17:18:34 +02:00
|
|
|
// 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.
|