diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 20:20:02 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 20:20:02 +0000 |
commit | 15bb2f4987e01dbb765207d792edbfe48efe68d1 (patch) | |
tree | a8a59a5f87025e4b113c3ec754312d99456a8f45 /chrome_frame/chrome_frame_helper_main.cc | |
parent | 710a98ded8a324b8ef534cd2ef9ad6735b1ee21c (diff) | |
download | chromium_src-15bb2f4987e01dbb765207d792edbfe48efe68d1.zip chromium_src-15bb2f4987e01dbb765207d792edbfe48efe68d1.tar.gz chromium_src-15bb2f4987e01dbb765207d792edbfe48efe68d1.tar.bz2 |
Fix up crash reporting in unit tests and the Chrome Frame helper processes:
Bother to initialize crash reporting in chrome_frame_tests.exe.
Correctly construct the crash reporting pipe name for non-admin installs.
BUG=86846
TEST=Crash dumps are reported when running Chrome Frame tests in headless mode, user-level Chrome Frame helper processes connect to the crash service.
Review URL: http://codereview.chromium.org/7219007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_helper_main.cc')
-rw-r--r-- | chrome_frame/chrome_frame_helper_main.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_helper_main.cc b/chrome_frame/chrome_frame_helper_main.cc index 6408ecd..27e1555 100644 --- a/chrome_frame/chrome_frame_helper_main.cc +++ b/chrome_frame/chrome_frame_helper_main.cc @@ -223,9 +223,8 @@ void WaitCallback() { } int APIENTRY wWinMain(HINSTANCE hinstance, HINSTANCE, wchar_t*, int show_cmd) { - const wchar_t* cmd_line = ::GetCommandLine(); google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad( - InitializeCrashReporting(cmd_line)); + InitializeCrashReporting(NORMAL)); if (IsSystemLevelChromeFrameInstalled()) { // If we're running at startup, check for system-level Chrome Frame |