diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-18 18:35:18 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-18 18:35:18 +0000 |
commit | edb22cfd39987c08be44997d9f2bc75f7721ce13 (patch) | |
tree | 12f63a67dad90948649bb22896444f51c6c296ef /ceee/ie/common/crash_reporter.cc | |
parent | f04f5d9d35710c7b4005fa79d8f26345ef4a8ef7 (diff) | |
download | chromium_src-edb22cfd39987c08be44997d9f2bc75f7721ce13.zip chromium_src-edb22cfd39987c08be44997d9f2bc75f7721ce13.tar.gz chromium_src-edb22cfd39987c08be44997d9f2bc75f7721ce13.tar.bz2 |
Set version string for Breakpad reporting by ceee_ie.dll
and ceee_broker.exe.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5113001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66648 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee/ie/common/crash_reporter.cc')
-rw-r--r-- | ceee/ie/common/crash_reporter.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ceee/ie/common/crash_reporter.cc b/ceee/ie/common/crash_reporter.cc index 4ed9b5c..6108672 100644 --- a/ceee/ie/common/crash_reporter.cc +++ b/ceee/ie/common/crash_reporter.cc @@ -7,8 +7,11 @@ #include "ceee/ie/common/crash_reporter.h" #include "base/logging.h" +#include "base/stringize_macros.h" #include "ceee/ie/common/ceee_module_util.h" +#include "version.h" // NOLINT + const wchar_t kGoogleUpdatePipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\S-1-5-18"; @@ -16,9 +19,8 @@ CrashReporter::CrashReporter(const wchar_t* component_name) : exception_handler_(NULL) { // Initialize the custom data that will be used to identify the client // when reporting a crash. - // TODO(jeffbailey@google.com): Inherit Chrome's version number. - // (bb3143594). - google_breakpad::CustomInfoEntry ver_entry(L"ver", L"Ver.Goes.Here"); + google_breakpad::CustomInfoEntry ver_entry( + L"ver", TO_L_STRING(CHROME_VERSION_STRING)); google_breakpad::CustomInfoEntry prod_entry(L"prod", L"CEEE_IE"); google_breakpad::CustomInfoEntry plat_entry(L"plat", L"Win32"); google_breakpad::CustomInfoEntry type_entry(L"ptype", component_name); |