aboutsummaryrefslogtreecommitdiff
path: root/devel/electron17/files/patch-chrome_browser_custom__handlers_chrome__protocol__handler__registry__delegate.cc
blob: ab43257e15fa62e929e12bb1966966a37021712d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/custom_handlers/chrome_protocol_handler_registry_delegate.cc.orig	2022-05-11 07:16:47 UTC
+++ chrome/browser/custom_handlers/chrome_protocol_handler_registry_delegate.cc
@@ -69,7 +69,7 @@ void ChromeProtocolHandlerRegistryDelegate::CheckDefau
 // If true default protocol handlers will be removed if the OS level
 // registration for a protocol is no longer Chrome.
 bool ChromeProtocolHandlerRegistryDelegate::ShouldRemoveHandlersNotInOS() {
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
   // We don't do this on Linux as the OS registration there is not reliable,
   // and Chrome OS doesn't have any notion of OS registration.
   // TODO(benwells): When Linux support is more reliable remove this