$OpenBSD: patch-chrome_browser_profiles_chrome_browser_main_extra_parts_profiles_cc,v 1.10 2021/10/29 14:49:40 robert Exp $

Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig
+++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -363,7 +363,7 @@ void ChromeBrowserMainExtraPartsProfiles::
 #endif
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if defined(OS_WIN) || defined(OS_MAC) || \
+#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_BSD) || \
     (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
   metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance();
 #endif
