Index: chrome/browser/metrics/metrics_log.cc |
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc |
index d9e11a823270879c13c0527925ce68a7118c38eb..ba5fdf9ec14a83ccf32ffc00e2d0d35cd37012f3 100644 |
--- a/chrome/browser/metrics/metrics_log.cc |
+++ b/chrome/browser/metrics/metrics_log.cc |
@@ -341,6 +341,8 @@ void MetricsLog::RecordEnvironment( |
system_profile->set_application_locale(client_->GetApplicationLocale()); |
+ // By default, the hardware class is empty (i.e., unknown). |
+ set_hardware_class(""); |
Alexei Svitkine (slow)
2014/05/28 15:50:10
Nit: Inline set_hardware_class() and remove that m
blundell
2014/05/28 18:39:35
Done.
|
SystemProfileProto::Hardware* hardware = system_profile->mutable_hardware(); |
hardware->set_cpu_architecture(base::SysInfo::OperatingSystemArchitecture()); |
hardware->set_system_ram_mb(base::SysInfo::AmountOfPhysicalMemoryMB()); |