aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc
blob: a4a298381dfe29d4a1e0f2176e62d0c93e8b9912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/ui/webui/ntp/app_launcher_handler.cc.orig	2021-04-22 07:58:52 UTC
+++ chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -1395,7 +1395,7 @@ void AppLauncherHandler::InstallOsHooks(const web_app:
   options.os_hooks[web_app::OsHookType::kRunOnOsLogin] = false;
   options.os_hooks[web_app::OsHookType::kUninstallationViaOsSettings] = true;
 #if defined(OS_WIN) || defined(OS_MAC) || \
-    (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
+    (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_BSD)
   options.os_hooks[web_app::OsHookType::kUrlHandlers] = true;
 #else
   options.os_hooks[web_app::OsHookType::kUrlHandlers] = false;