summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_exe_main.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 15:55:02 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 15:55:02 +0000
commitad5f54471a107a27a7d975f38651426b6c042fc3 (patch)
tree53f768a325cbe697577ec4773bf9d0c3d40a6bec /chrome/app/chrome_exe_main.mm
parentb5c5cf54b6e984cbf8061da067398e90f9280d0d (diff)
downloadchromium_src-ad5f54471a107a27a7d975f38651426b6c042fc3.zip
chromium_src-ad5f54471a107a27a7d975f38651426b6c042fc3.tar.gz
chromium_src-ad5f54471a107a27a7d975f38651426b6c042fc3.tar.bz2
First stab at Mac breakpad support.
breakpad_mac.mm still needs some work, there's a bunch of scaffolding in there referring to a custom version of Breakpad I've got going locally. Review URL: http://codereview.chromium.org/53075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_exe_main.mm')
-rw-r--r--chrome/app/chrome_exe_main.mm11
1 files changed, 9 insertions, 2 deletions
diff --git a/chrome/app/chrome_exe_main.mm b/chrome/app/chrome_exe_main.mm
index f6c78e0..e762067 100644
--- a/chrome/app/chrome_exe_main.mm
+++ b/chrome/app/chrome_exe_main.mm
@@ -6,6 +6,7 @@
#include "base/at_exit.h"
#include "base/process_util.h"
+#import "chrome/app/breakpad_mac.h"
// The entry point for all invocations of Chromium, browser and renderer. On
// windows, this does nothing but load chrome.dll and invoke its entry point
@@ -27,8 +28,14 @@ int main(int argc, const char** argv) {
// base::AtExitManager exit_manager;
#if defined(GOOGLE_CHROME_BUILD)
- // TODO(pinkerton): init crash reporter
+ InitCrashReporter();
#endif
- return ChromeMain(argc, argv);
+ int ret = ChromeMain(argc, argv);
+
+#if defined(GOOGLE_CHROME_BUILD)
+ DestructCrashReporter();
+#endif
+
+ return ret;
}