ports/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc
2025-04-17 14:21:51 +02:00

26 lines
1.2 KiB
C++

--- chrome/browser/ui/tab_helpers.cc.orig 2025-04-16 18:18:42 UTC
+++ chrome/browser/ui/tab_helpers.cc
@@ -216,7 +216,7 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "chrome/browser/ui/blocked_content/framebust_block_tab_helper.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/hats/hats_helper.h"
@@ -687,12 +687,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
webapps::PreRedirectionURLObserver::CreateForWebContents(web_contents);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
metrics::DesktopSessionDurationObserver::CreateForWebContents(web_contents);
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
if (base::FeatureList::IsEnabled(
features::kHappinessTrackingSurveysForDesktopDemo) ||
base::FeatureList::IsEnabled(features::kTrustSafetySentimentSurvey) ||