Adding gl_vendor and gl_renderer to the crash report and UMA system profile protocol buffers.
Adding these fields to differentiate between devices with the same 'model' string but different GPUs. Also remove gpu vendor_id and device_id for Android since this concept does not exist for Android.
BUG=165263
Review URL: https://chromiumcodereview.appspot.com/11958047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177740 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 246880e..a63fc2d 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -846,6 +846,8 @@
gpu_performance->set_graphics_score(gpu_info.performance_stats.graphics);
gpu_performance->set_gaming_score(gpu_info.performance_stats.gaming);
gpu_performance->set_overall_score(gpu_info.performance_stats.overall);
+ gpu->set_gl_vendor(gpu_info.gl_vendor);
+ gpu->set_gl_renderer(gpu_info.gl_renderer);
const gfx::Size display_size = GetScreenSize();
hardware->set_primary_screen_width(display_size.width());