diff options
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc index 49486d92850f..0431a2e82a0b 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_ntp_app__launcher__handler.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/webui/ntp/app_launcher_handler.cc.orig 2021-12-31 00:57:25 UTC +--- chrome/browser/ui/webui/ntp/app_launcher_handler.cc.orig 2022-02-07 13:39:41 UTC +++ chrome/browser/ui/webui/ntp/app_launcher_handler.cc -@@ -314,7 +314,7 @@ void AppLauncherHandler::CreateExtensionInfo(const Ext +@@ -315,7 +315,7 @@ void AppLauncherHandler::CreateExtensionInfo(const Ext base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kKioskMode)); bool is_deprecated_app = false; @@ -9,7 +9,7 @@ is_deprecated_app = extensions::IsExtensionUnsupportedDeprecatedApp( extension_service_->GetBrowserContext(), extension->id()); #endif -@@ -764,7 +764,7 @@ void AppLauncherHandler::HandleLaunchApp(const base::L +@@ -765,7 +765,7 @@ void AppLauncherHandler::HandleLaunchApp(const base::L Profile* profile = extension_service_->profile(); @@ -18,12 +18,12 @@ if (extensions::IsExtensionUnsupportedDeprecatedApp(profile, extension_id)) { // TODO(crbug.com/1225779): Show the deprecated apps dialog. return; -@@ -1363,7 +1363,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) +@@ -1361,7 +1361,7 @@ void AppLauncherHandler::InstallOsHooks(const web_app: + options.os_hooks[web_app::OsHookType::kUninstallationViaOsSettings] = + web_app->CanUserUninstallWebApp(); + +-#if defined(OS_WIN) || defined(OS_MAC) || \ ++#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_BSD) || \ + (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)) options.os_hooks[web_app::OsHookType::kUrlHandlers] = true; #else - options.os_hooks[web_app::OsHookType::kUrlHandlers] = false; |