summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-device_fido_features_cc
blob: 1f5d3c4879bfbd78bf63f1d860cb3cd8b05ebb7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$OpenBSD: patch-device_fido_features_cc,v 1.9 2021/09/01 16:54:39 robert Exp $

Index: device/fido/features.cc
--- device/fido/features.cc.orig
+++ device/fido/features.cc
@@ -26,7 +26,7 @@ extern const base::Feature kWebAuthCableServerLink {
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
 // If updating this, also update kWebAuthCable.
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_LINUX) || defined(OS_BSD)
       base::FEATURE_DISABLED_BY_DEFAULT
 #else
       base::FEATURE_ENABLED_BY_DEFAULT
@@ -35,7 +35,7 @@ extern const base::Feature kWebAuthCableServerLink {
 
 extern const base::Feature kWebAuthCableSecondFactor {
   "WebAuthenticationCableSecondFactor",
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_LINUX) || defined(OS_ANDROID)
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
       // This is default-disabled on Android because it involves changes that
       // alter the interaction with the Sync service and thus needs to be rolled
       // out gradually.