Index: win8/delegate_execute/delegate_execute.cc |
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc |
index 2cfe4184dbb924fa077337d90ca790062103f283..be3ac1b6c682968c16e08f081ad539fd3e538733 100644 |
--- a/win8/delegate_execute/delegate_execute.cc |
+++ b/win8/delegate_execute/delegate_execute.cc |
@@ -17,6 +17,7 @@ |
#include "base/win/scoped_handle.h" |
#include "chrome/common/chrome_switches.h" |
#include "command_execute_impl.h" |
+#include "win8/delegate_execute/crash_server_init.h" |
#include "win8/delegate_execute/delegate_execute_operation.h" |
#include "win8/delegate_execute/resource.h" |
@@ -106,6 +107,9 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) { |
} |
extern "C" int WINAPI _tWinMain(HINSTANCE , HINSTANCE, LPTSTR, int nShowCmd) { |
+ google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad( |
+ InitializeCrashReporting(NORMAL, L"Chrome", L"delegate_execute")); |
+ |
base::AtExitManager exit_manager; |
AtlTrace("delegate_execute enter\n"); |