aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_sync__device__info_local__device__info__util.cc
blob: 0feeda6eff712b756638d94ab56001ef28515edb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/sync_device_info/local_device_info_util.cc.orig	2021-05-12 22:05:51 UTC
+++ components/sync_device_info/local_device_info_util.cc
@@ -75,7 +75,7 @@ std::string GetPersonalizableDeviceNameInternal();
 sync_pb::SyncEnums::DeviceType GetLocalDeviceType() {
 #if BUILDFLAG(IS_CHROMEOS_ASH)
   return sync_pb::SyncEnums_DeviceType_TYPE_CROS;
-#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
   return sync_pb::SyncEnums_DeviceType_TYPE_LINUX;
 #elif defined(OS_ANDROID) || defined(OS_IOS)
   return ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET