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

Unified Diff: remoting/host/elevated_controller_module_win.cc

Issue 10495003: Make Chromoting Host report crashes to Breakpad (Windows only). The user must enable crash dumps co… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
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..e846cf365b1cd99175aa806a60bb177e7244c393 100644
--- a/remoting/host/elevated_controller_module_win.cc
+++ b/remoting/host/elevated_controller_module_win.cc
@@ -11,6 +11,7 @@
#include "base/file_path.h"
#include "base/logging.h"
#include "remoting/host/branding.h"
+#include "remoting/host/breakpad.h"
// MIDL-generated declarations.
#include "remoting/host/elevated_controller.h"
@@ -29,6 +30,9 @@ class ElevatedControllerModuleWin
remoting::ElevatedControllerModuleWin _AtlModule;
int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) {
+ // Initializes the crash dump reports.
+ remoting::InitializeCrashReporting();
+
CommandLine::Init(0, NULL);
// Register and initialize common controls.

Powered by Google App Engine
This is Rietveld 408576698