Differential D23984 Diff 69308 head/www/chromium/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc
Changeset View
Changeset View
Standalone View
Standalone View
head/www/chromium/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc
--- chrome/browser/custom_handlers/protocol_handler_registry.cc.orig 2019-10-21 19:06:21 UTC | --- chrome/browser/custom_handlers/protocol_handler_registry.cc.orig 2020-03-03 18:53:01 UTC | ||||
+++ chrome/browser/custom_handlers/protocol_handler_registry.cc | +++ chrome/browser/custom_handlers/protocol_handler_registry.cc | ||||
@@ -43,7 +43,7 @@ const ProtocolHandler& LookupHandler( | @@ -42,7 +42,7 @@ const ProtocolHandler& LookupHandler( | ||||
// If true default protocol handlers will be removed if the OS level | // If true default protocol handlers will be removed if the OS level | ||||
// registration for a protocol is no longer Chrome. | // registration for a protocol is no longer Chrome. | ||||
bool ShouldRemoveHandlersNotInOS() { | bool ShouldRemoveHandlersNotInOS() { | ||||
-#if defined(OS_LINUX) | -#if defined(OS_LINUX) | ||||
+#if defined(OS_LINUX) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_BSD) | ||||
// We don't do this on Linux as the OS registration there is not reliable, | // 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. | // and Chrome OS doesn't have any notion of OS registration. | ||||
// TODO(benwells): When Linux support is more reliable remove this | // TODO(benwells): When Linux support is more reliable remove this |