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..6205c7b24bd523d7651c176f1f9095b2abdf73c3 100644 |
--- a/chrome/browser/metrics/metrics_log.cc |
+++ b/chrome/browser/metrics/metrics_log.cc |
@@ -341,6 +341,10 @@ void MetricsLog::RecordEnvironment( |
system_profile->set_application_locale(client_->GetApplicationLocale()); |
+ // By default, the hardware class is empty (i.e., unknown). |
+ uma_proto()->mutable_system_profile()->mutable_hardware()->set_hardware_class( |
Alexei Svitkine (slow)
2014/05/28 18:45:57
Nit: you have a |hardware| section just below this
blundell
2014/05/28 18:59:49
Done.
|
+ std::string()); |
+ |
SystemProfileProto::Hardware* hardware = system_profile->mutable_hardware(); |
hardware->set_cpu_architecture(base::SysInfo::OperatingSystemArchitecture()); |
hardware->set_system_ram_mb(base::SysInfo::AmountOfPhysicalMemoryMB()); |