summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_win.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 01:29:22 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 01:29:22 +0000
commitcbfc6e84c5dd67883f040ddf665c2649ccb4fe8a (patch)
tree490dc0eed5946062784f9ab4257a8edef1891362 /chrome/app/breakpad_win.cc
parent315cc09d944e53adab3d62c708bcaba9df446355 (diff)
downloadchromium_src-cbfc6e84c5dd67883f040ddf665c2649ccb4fe8a.zip
chromium_src-cbfc6e84c5dd67883f040ddf665c2649ccb4fe8a.tar.gz
chromium_src-cbfc6e84c5dd67883f040ddf665c2649ccb4fe8a.tar.bz2
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
Diffstat (limited to 'chrome/app/breakpad_win.cc')
-rw-r--r--chrome/app/breakpad_win.cc12
1 files changed, 7 insertions, 5 deletions
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