blob: e4c212a51b624118ab2004311af751863c9de41b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- chrome/browser/web_applications/web_app_shortcut.h.orig 2022-02-28 16:54:41 UTC
+++ chrome/browser/web_applications/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/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)
|