$OpenBSD: patch-chrome_browser_sync_profile_sync_service_factory_cc,v 1.1 2021/04/01 10:24:44 robert Exp $

Index: chrome/browser/sync/profile_sync_service_factory.cc
--- chrome/browser/sync/profile_sync_service_factory.cc.orig
+++ chrome/browser/sync/profile_sync_service_factory.cc
@@ -202,7 +202,7 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceI
 
 // Only check the local sync backend pref on the supported platforms of
 // Windows, Mac and Linux.
-#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX)
+#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || defined(OS_BSD)
   syncer::SyncPrefs prefs(profile->GetPrefs());
   local_sync_backend_enabled = prefs.IsLocalSyncEnabled();
   UMA_HISTOGRAM_BOOLEAN("Sync.Local.Enabled", local_sync_backend_enabled);
