mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
26 lines
1.2 KiB
C++
26 lines
1.2 KiB
C++
--- chrome/browser/ui/tab_helpers.cc.orig 2024-08-26 12:06:38 UTC
|
|
+++ chrome/browser/ui/tab_helpers.cc
|
|
@@ -241,7 +241,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"
|
|
@@ -719,12 +719,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
|
|
// TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
|
|
// of lacros-chrome is complete.
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
|
|
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || 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) ||
|