From cbfc6e84c5dd67883f040ddf665c2649ccb4fe8a Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Tue, 17 Aug 2010 01:29:22 +0000 Subject: Win32: Prefix Breakpad GPU info with 'gpu-' to make crash reports more readable. BUG=38737 TEST=none Review URL: http://codereview.chromium.org/3119021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56291 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/breakpad_win.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'chrome/app') diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc index bf94f6e..1332a8e 100644 --- a/chrome/app/breakpad_win.cc +++ b/chrome/app/breakpad_win.cc @@ -126,14 +126,16 @@ google_breakpad::CustomClientInfo* GetCustomInfo(const std::wstring& dll_path, // Add empty values for the gpu_info. We'll put the actual values // when we collect them at this location. g_gpu_info_offset = g_custom_entries->size(); - g_custom_entries->push_back(google_breakpad::CustomInfoEntry(L"venid", L"")); - g_custom_entries->push_back(google_breakpad::CustomInfoEntry(L"devid", L"")); g_custom_entries->push_back( - google_breakpad::CustomInfoEntry(L"driver", L"")); + google_breakpad::CustomInfoEntry(L"gpu-venid", L"")); g_custom_entries->push_back( - google_breakpad::CustomInfoEntry(L"psver", L"")); + google_breakpad::CustomInfoEntry(L"gpu-devid", L"")); g_custom_entries->push_back( - google_breakpad::CustomInfoEntry(L"vsver", L"")); + google_breakpad::CustomInfoEntry(L"gpu-driver", L"")); + g_custom_entries->push_back( + google_breakpad::CustomInfoEntry(L"gpu-psver", L"")); + g_custom_entries->push_back( + google_breakpad::CustomInfoEntry(L"gpu-vsver", L"")); // Read the id from registry. If reporting has never been enabled // the result will be empty string. Its OK since when user enables reporting -- cgit v1.1