diff options
Diffstat (limited to 'chromium/components/metrics/metrics_log.cc')
-rw-r--r-- | chromium/components/metrics/metrics_log.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/components/metrics/metrics_log.cc b/chromium/components/metrics/metrics_log.cc index 42331e3f15b..ac35ce396a3 100644 --- a/chromium/components/metrics/metrics_log.cc +++ b/chromium/components/metrics/metrics_log.cc @@ -151,7 +151,12 @@ void MetricsLog::RecordCoreSystemProfile(MetricsServiceClient* client, metrics::SystemProfileProto::Hardware* hardware = system_profile->mutable_hardware(); +#if !defined(OS_IOS) + // On iOS, OperatingSystemArchitecture() returns values like iPad4,4 which is + // not the actual CPU architecture. Don't set it until the API is fixed. See + // crbug.com/370104 for details. hardware->set_cpu_architecture(base::SysInfo::OperatingSystemArchitecture()); +#endif hardware->set_system_ram_mb(base::SysInfo::AmountOfPhysicalMemoryMB()); hardware->set_hardware_class(base::SysInfo::HardwareModelName()); #if defined(OS_WIN) |