Refactoring GPUInfo: 1) remove the level field; instead, having a finalized field indicating if more info might be collected. 2) change version data from uint32 to string.
Refactoring GpuDataManager: 1) remove GpuFeatureAllowed() because we expose un-filtered flags through GpuFeatureFlags(). 2) disallow launch GPU process to collect gpu info if accelerated_compositing is not allowed.
BUG=none
TEST=unittest
Review URL: http://codereview.chromium.org/6672004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78080 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/common/child_process_logging_mac.mm b/chrome/common/child_process_logging_mac.mm
index fd1ed164..0a13af0 100644
--- a/chrome/common/child_process_logging_mac.mm
+++ b/chrome/common/child_process_logging_mac.mm
@@ -155,13 +155,13 @@
gpu_info.driver_version,
set_key_func);
SetGpuKeyValue(kGPUPixelShaderVersionParamName,
- base::UintToString(gpu_info.pixel_shader_version),
+ gpu_info.pixel_shader_version,
set_key_func);
SetGpuKeyValue(kGPUVertexShaderVersionParamName,
- base::UintToString(gpu_info.vertex_shader_version),
+ gpu_info.vertex_shader_version,
set_key_func);
SetGpuKeyValue(kGPUGLVersionParamName,
- base::UintToString(gpu_info.gl_version),
+ gpu_info.gl_version,
set_key_func);
}