Index: remoting/host/elevated_controller_module_win.cc |
diff --git a/remoting/host/elevated_controller_module_win.cc b/remoting/host/elevated_controller_module_win.cc |
index 6f7c8a2141e04fc60d9f8f4b53e6dafa8824b780..80e92336df1c2b0dff66612dc1a84d7041ff4b75 100644 |
--- a/remoting/host/elevated_controller_module_win.cc |
+++ b/remoting/host/elevated_controller_module_win.cc |
@@ -10,7 +10,9 @@ |
#include "base/command_line.h" |
#include "base/file_path.h" |
#include "base/logging.h" |
+#include "remoting/base/breakpad.h" |
#include "remoting/host/branding.h" |
+#include "remoting/host/breakpad.h" |
// MIDL-generated declarations. |
#include "remoting/host/elevated_controller.h" |
@@ -29,6 +31,11 @@ class ElevatedControllerModuleWin |
remoting::ElevatedControllerModuleWin _AtlModule; |
int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) { |
+ // Initializes the crash dump reports. |
Peter Kasting
2012/06/14 20:16:27
Nit: This comment doesn't add anything to the code
alexeypa (please no reviews)
2012/06/15 18:45:49
Done.
|
+ if (remoting::IsCrashReportingEnabled()) { |
+ remoting::InitializeCrashReporting(); |
+ } |
+ |
CommandLine::Init(0, NULL); |
// Register and initialize common controls. |