summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_launcher_main.cc
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 20:20:02 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 20:20:02 +0000
commit15bb2f4987e01dbb765207d792edbfe48efe68d1 (patch)
treea8a59a5f87025e4b113c3ec754312d99456a8f45 /chrome_frame/chrome_launcher_main.cc
parent710a98ded8a324b8ef534cd2ef9ad6735b1ee21c (diff)
downloadchromium_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_launcher_main.cc')
-rw-r--r--chrome_frame/chrome_launcher_main.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome_frame/chrome_launcher_main.cc b/chrome_frame/chrome_launcher_main.cc
index 5716345..462a317 100644
--- a/chrome_frame/chrome_launcher_main.cc
+++ b/chrome_frame/chrome_launcher_main.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,11 +11,10 @@
#include "chrome_frame/update_launcher.h"
int APIENTRY wWinMain(HINSTANCE, HINSTANCE, wchar_t*, int) {
- const wchar_t* cmd_line = ::GetCommandLine();
-
google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad(
- InitializeCrashReporting(cmd_line));
+ InitializeCrashReporting(NORMAL));
+ const wchar_t* cmd_line = ::GetCommandLine();
std::wstring update_command(
update_launcher::GetUpdateCommandFromArguments(cmd_line));