Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4606)

Unified Diff: chrome/app/chrome_exe_main.mm

Issue 53075: First stab at Mac breakpad support. (Closed)
Patch Set: Address John's comments Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/chrome_exe_main.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_exe_main.mm
diff --git a/chrome/app/chrome_exe_main.mm b/chrome/app/chrome_exe_main.mm
index f6c78e0c94691ba77209c6768f594bfd4b9bc6e8..e762067c23caab7307579d52eaf8e5c38117fba0 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;
}
« no previous file with comments | « chrome/app/chrome_exe_main.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698