aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_web__applications_components_web__app__file__handler__registration.h
blob: 5eb9bb9e3bdb9cd07766c7ee323a7dff2bfc6f34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/web_applications/components/web_app_file_handler_registration.h.orig	2020-11-13 06:36:38 UTC
+++ chrome/browser/web_applications/components/web_app_file_handler_registration.h
@@ -38,7 +38,7 @@ void RegisterFileHandlersWithOs(const AppId& app_id,
 // If a shim app was required, also removes the shim app.
 void UnregisterFileHandlersWithOs(const AppId& app_id, Profile* profile);
 
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
 using RegisterMimeTypesOnLinuxCallback =
     base::OnceCallback<bool(base::FilePath profile_path,
                             std::string file_contents)>;