aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-chrome_browser_enterprise_signals_context__info__fetcher.cc
blob: 6bdd7b98502e1da635911ac48c7370cf932b8a65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/browser/enterprise/signals/context_info_fetcher.cc.orig	2025-06-30 07:04:30 UTC
+++ chrome/browser/enterprise/signals/context_info_fetcher.cc
@@ -181,6 +181,8 @@ SettingValue ContextInfoFetcher::GetOSFirewall() {
 SettingValue ContextInfoFetcher::GetOSFirewall() {
 #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
   return device_signals::GetOSFirewall();
+#elif BUILDFLAG(IS_OPENBSD)
+  return SettingValue::ENABLED;
 #elif BUILDFLAG(IS_CHROMEOS)
   return GetChromeosFirewall();
 #else
@@ -200,7 +202,7 @@ std::vector<std::string> ContextInfoFetcher::GetDnsSer
 #endif  // BUILDFLAG(IS_LINUX)
 
 std::vector<std::string> ContextInfoFetcher::GetDnsServers() {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
   return device_signals::GetSystemDnsServers();
 #else
   return std::vector<std::string>();