aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_device_public_cpp_device__features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-services_device_public_cpp_device__features.cc')
-rw-r--r--www/chromium/files/patch-services_device_public_cpp_device__features.cc23
1 files changed, 16 insertions, 7 deletions
diff --git a/www/chromium/files/patch-services_device_public_cpp_device__features.cc b/www/chromium/files/patch-services_device_public_cpp_device__features.cc
index 53b9f37f2843..9300e14579c3 100644
--- a/www/chromium/files/patch-services_device_public_cpp_device__features.cc
+++ b/www/chromium/files/patch-services_device_public_cpp_device__features.cc
@@ -1,11 +1,20 @@
---- services/device/public/cpp/device_features.cc.orig 2025-09-06 10:01:20 UTC
+--- services/device/public/cpp/device_features.cc.orig 2025-10-30 15:44:36 UTC
+++ services/device/public/cpp/device_features.cc
-@@ -144,7 +144,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
- BASE_FEATURE(kAutomaticUsbDetach,
- "AutomaticUsbDetach",
+@@ -81,7 +81,7 @@ BASE_FEATURE(kBatteryStatusManagerBroadcastReceiverInB
+ // Modifies the internal allowlist behavior that enables privileged extensions
+ // to bypass the HID blocklist when accessing FIDO devices. When enabled,
+ // privileged extensions can access non-FIDO interfaces on known security keys.
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kSecurityKeyHidInterfacesAreFido,
base::FEATURE_ENABLED_BY_DEFAULT);
+ #else
+@@ -130,7 +130,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
+ // a USB interface is busy.
+ #if BUILDFLAG(IS_ANDROID)
+ BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_ENABLED_BY_DEFAULT);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kAutomaticUsbDetach,
- "AutomaticUsbDetach",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_DISABLED_BY_DEFAULT);
+ #endif // BUILDFLAG(IS_ANDROID)
+