Index: chrome/browser/metrics/metrics_log.cc |
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc |
index 76563f59b0475e9f1a4d1480ef14a35a148e687d..3edb346c65e45df2a9192c70f1f04f42c2641661 100644 |
--- a/chrome/browser/metrics/metrics_log.cc |
+++ b/chrome/browser/metrics/metrics_log.cc |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/bind.h" |
+#include "base/cpu.h" |
#include "base/lazy_instance.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/perftimer.h" |
@@ -732,6 +733,11 @@ void MetricsLog::RecordEnvironmentProto( |
base::android::BuildInfo::GetInstance()->android_build_fp()); |
#endif |
+ base::CPU cpu_info; |
+ SystemProfileProto::Hardware::CPU* cpu = hardware->mutable_cpu(); |
+ cpu->set_vendor_name(cpu_info.vendor_name()); |
+ cpu->set_signature(cpu_info.signature()); |
+ |
const gpu::GPUInfo& gpu_info = |
GpuDataManager::GetInstance()->GetGPUInfo(); |
SystemProfileProto::Hardware::Graphics* gpu = hardware->mutable_gpu(); |