aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_component__updater_registration.cc
blob: 782c92a32dab53b2b960225b440ec3016baad628 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/browser/component_updater/registration.cc.orig	2022-05-19 14:06:27 UTC
+++ chrome/browser/component_updater/registration.cc
@@ -90,7 +90,7 @@
 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h"
 #endif  // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 #include "chrome/browser/component_updater/screen_ai_component_installer.h"
 #endif  // BUILDFLAG(IS_LINUX)
 
@@ -214,7 +214,7 @@ void RegisterComponentsForUpdate() {
 
   RegisterClientSidePhishingComponent(cus);
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   RegisterScreenAIComponent(cus, g_browser_process->local_state());
 #endif  // BUILDFLAG(IS_LINUX)