aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handle...
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-03-29 20:42:38 +0000
committerRene Ladan <rene@FreeBSD.org>2022-03-29 21:12:41 +0000
commitd2c7aaaca13965ed2f7b6d3bd4930b5561fdf682 (patch)
treeaf8ff48b5ed19039f09ff491783c4d806738009f /www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__file__handler__registration.h
parentadbcbf8a27257b951a8e2fc30cf2f6027c800180 (diff)
downloadports-d2c7aaaca13965ed2f7b6d3bd4930b5561fdf682.tar.gz
ports-d2c7aaaca13965ed2f7b6d3bd4930b5561fdf682.zip
www/chromium: update to 100.0.4896.60
Enable some more unit tests. Security: ab2d7f62-af9d-11ec-a0b8-3065ec8fd3ec (cherry picked from commit 1e683edf9a258d43c95b485ad96f5c39860770cb)
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.