summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_common_channel__info.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_common_channel__info.h')
-rw-r--r--www/chromium/files/patch-chrome_common_channel__info.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/www/chromium/files/patch-chrome_common_channel__info.h b/www/chromium/files/patch-chrome_common_channel__info.h
index a6c8d6364e88..629b7b62143d 100644
--- a/www/chromium/files/patch-chrome_common_channel__info.h
+++ b/www/chromium/files/patch-chrome_common_channel__info.h
@@ -1,18 +1,20 @@
---- chrome/common/channel_info.h.orig 2023-04-28 17:01:32 UTC
+--- chrome/common/channel_info.h.orig 2024-06-17 12:56:06 UTC
+++ chrome/common/channel_info.h
-@@ -104,13 +104,13 @@ void ClearChannelForTesting();
+@@ -12,7 +12,7 @@
+ #include "build/build_config.h"
+ #include "build/chromeos_buildflags.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ namespace base {
+ class Environment;
+ }
+@@ -100,7 +100,7 @@ void ClearChannelIdForTesting();
std::string GetChannelSuffixForDataDir();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::string GetChannelSuffixForExtraFlagsEnvVarName();
- #endif
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
// Returns the channel-specific filename of the desktop shortcut used to launch
- // the browser.
- std::string GetDesktopName(base::Environment* env);