aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h')
-rw-r--r--www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h
new file mode 100644
index 000000000000..a1594b05528e
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h
@@ -0,0 +1,11 @@
+--- chrome/browser/web_applications/os_integration/web_app_file_handler_registration.h.orig 2022-03-25 21:59:56 UTC
++++ chrome/browser/web_applications/os_integration/web_app_file_handler_registration.h
+@@ -44,7 +44,7 @@ void UnregisterFileHandlersWithOs(const AppId& app_id,
+ Profile* profile,
+ ResultCallback callback);
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Exposed for testing purposes. Register the set of
+ // MIME-type-to-file-extensions mappings corresponding to |file_handlers|. File
+ // I/O and a a callout to the Linux shell are performed asynchronously.