diff options
author | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 18:47:14 +0000 |
---|---|---|
committer | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 18:47:14 +0000 |
commit | 409d8d462e79c45e60b0b226e9c299fd25e04502 (patch) | |
tree | 0ab6e78d5cf5ebe3a0f6bb9db0f341719e5954e1 /chrome/common | |
parent | 3801761e4f109d2f2898b44958277f1dccd5ae2c (diff) | |
download | chromium_src-409d8d462e79c45e60b0b226e9c299fd25e04502.zip chromium_src-409d8d462e79c45e60b0b226e9c299fd25e04502.tar.gz chromium_src-409d8d462e79c45e60b0b226e9c299fd25e04502.tar.bz2 |
Update the key names for the mac breakpad dumps so that they match windows and are more clearly labeled with "gpu".
Also adding gl_version to reporting.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3295025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/child_process_logging_mac.mm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/chrome/common/child_process_logging_mac.mm b/chrome/common/child_process_logging_mac.mm index 62cb122..a61202c 100644 --- a/chrome/common/child_process_logging_mac.mm +++ b/chrome/common/child_process_logging_mac.mm @@ -19,11 +19,12 @@ const int kMaxNumCrashURLChunks = 8; const int kMaxNumURLChunkValueLength = 255; const char *kUrlChunkFormatStr = "url-chunk-%d"; const char *kGuidParamName = "guid"; -const char *kGPUVendorIdParamName = "vendid"; -const char *kGPUDeviceIdParamName = "devid"; -const char *kGPUDriverVersionParamName = "driver"; -const char *kGPUPixelShaderVersionParamName = "psver"; -const char *kGPUVertexShaderVersionParamName = "vsver"; +const char *kGPUVendorIdParamName = "gpu-vendid"; +const char *kGPUDeviceIdParamName = "gpu-devid"; +const char *kGPUDriverVersionParamName = "gpu-driver"; +const char *kGPUPixelShaderVersionParamName = "gpu-psver"; +const char *kGPUVertexShaderVersionParamName = "gpu-vsver"; +const char *kGPUGLVersionParamName = "gpu-glver"; const char *kNumberOfViews = "num-views"; static SetCrashKeyValueFuncPtr g_set_key_func; @@ -138,6 +139,9 @@ void SetGpuInfoImpl(const GPUInfo& gpu_info, SetGpuKeyValue(kGPUVertexShaderVersionParamName, base::UintToString(gpu_info.vertex_shader_version()), set_key_func); + SetGpuKeyValue(kGPUGLVersionParamName, + base::UintToString(gpu_info.gl_version()), + set_key_func); } void SetGpuInfo(const GPUInfo& gpu_info) { |