summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h')
-rw-r--r--www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h
new file mode 100644
index 000000000000..95ff8d0f3cba
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h
@@ -0,0 +1,29 @@
+--- chrome/browser/web_applications/os_integration/web_app_shortcut.h.orig 2022-03-25 21:59:56 UTC
++++ chrome/browser/web_applications/os_integration/web_app_shortcut.h
+@@ -19,7 +19,7 @@
+ #include "ui/gfx/image/image_family.h"
+ #include "url/gurl.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/web_applications/os_integration/web_app_shortcut_linux.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -47,7 +47,7 @@ struct ScopedShortcutOverrideForTesting {
+ base::ScopedTempDir startup;
+ #elif BUILDFLAG(IS_MAC)
+ base::ScopedTempDir chrome_apps_folder;
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ base::ScopedTempDir desktop;
+ #endif
+ };
+@@ -89,7 +89,7 @@ struct ShortcutInfo {
+ std::set<std::string> file_handler_extensions;
+ std::set<std::string> file_handler_mime_types;
+ std::set<std::string> protocol_handlers;
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::set<DesktopActionInfo> actions;
+ #endif // BUILDFLAG(IS_LINUX)
+