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

Index: chrome/browser/sync/device_info_sync_service_factory.cc
--- chrome/browser/sync/device_info_sync_service_factory.cc.orig
+++ chrome/browser/sync/device_info_sync_service_factory.cc
@@ -42,7 +42,7 @@ class DeviceInfoSyncClient : public syncer::DeviceInfo
   std::string GetSigninScopedDeviceId() const override {
 // Since the local sync backend is currently only supported on Windows, Mac and
 // Linux don't even check the pref on other os-es.
-#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());
     if (prefs.IsLocalSyncEnabled()) {
       return "local_device";
