diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 23:19:42 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 23:19:42 +0000 |
commit | 10ce14043204948ee3a6fd44c3e9aa15bdc71028 (patch) | |
tree | 4041b9a4319cad2ad174172784fda1cc6ae573fc /chrome/app/breakpad_win.cc | |
parent | f1165494135dce16afc85db6d77de295451ee12f (diff) | |
download | chromium_src-10ce14043204948ee3a6fd44c3e9aa15bdc71028.zip chromium_src-10ce14043204948ee3a6fd44c3e9aa15bdc71028.tar.gz chromium_src-10ce14043204948ee3a6fd44c3e9aa15bdc71028.tar.bz2 |
Fix crash reporting on Windows.
BUG=29217
Review URL: http://codereview.chromium.org/460028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_win.cc')
-rw-r--r-- | chrome/app/breakpad_win.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc index 2db9224..9668038 100644 --- a/chrome/app/breakpad_win.cc +++ b/chrome/app/breakpad_win.cc @@ -84,6 +84,8 @@ google_breakpad::CustomClientInfo* GetCustomInfo(const std::wstring& dll_path, g_custom_entries->push_back( google_breakpad::CustomInfoEntry(L"ver", version.c_str())); g_custom_entries->push_back( + google_breakpad::CustomInfoEntry(L"prod", product.c_str())); + g_custom_entries->push_back( google_breakpad::CustomInfoEntry(L"plat", L"Win32")); g_custom_entries->push_back( google_breakpad::CustomInfoEntry(L"ptype", type.c_str())); @@ -253,7 +255,7 @@ extern "C" void __declspec(dllexport) __cdecl SetExtensionID( DCHECK(id); DCHECK(index < kMaxReportedActiveExtensions); - wcscpy_s((*g_custom_entries)[g_extension_ids_offset + index].value, + wcscpy_s((*g_custom_entries)[g_extension_ids_offset + index].value, google_breakpad::CustomInfoEntry::kValueMaxLength, id); } |