--- chrome/browser/signin/signin_hats_util.cc.orig 2026-01-07 00:52:53 UTC +++ chrome/browser/signin/signin_hats_util.cc @@ -39,7 +39,7 @@ namespace { namespace { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) constexpr char kChannel[] = "Channel"; constexpr char kChromeVersion[] = "Chrome Version"; constexpr char kNumberOfChromeProfiles[] = "Number of Chrome Profiles"; @@ -123,7 +123,7 @@ bool IsFeatureEnabledForSigninHatsTrigger(const std::s namespace signin { bool IsFeatureEnabledForSigninHatsTrigger(const std::string& trigger) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) static const base::NoDestructor< base::flat_map> kChromeIdentityHatsTriggerFeatureMap({ @@ -168,7 +168,7 @@ void LaunchSigninHatsSurveyForProfile(const std::strin bool defer_if_no_browser, std::optional access_point_for_data_type_promo) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!profile || !IsFeatureEnabledForSigninHatsTrigger(trigger)) { return; }