blob: 2d60a836e827f6845538730396049eadc52f0f08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- chrome/common/channel_info_posix.cc.orig 2021-04-14 18:40:56 UTC
+++ chrome/common/channel_info_posix.cc
@@ -70,7 +70,7 @@ std::string GetChannelSuffixForDataDir() {
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
std::string GetDesktopName(base::Environment* env) {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
// Google Chrome packaged as a snap is a special case: the application name
@@ -99,7 +99,7 @@ std::string GetDesktopName(base::Environment* env) {
return "chromium-browser.desktop";
#endif
}
-#endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
version_info::Channel GetChannel() {
return GetChannelImpl(nullptr);
|