mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
26 lines
1.3 KiB
C++
26 lines
1.3 KiB
C++
--- chrome/browser/ui/tab_helpers.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ chrome/browser/ui/tab_helpers.cc
|
|
@@ -203,7 +203,7 @@
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || 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"
|
|
@@ -537,12 +537,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
|
|
// TODO(crbug.com/1052397): 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)) {
|