Index: remoting/host/host_service_win.cc |
diff --git a/remoting/host/host_service_win.cc b/remoting/host/host_service_win.cc |
index 77d8cc7bba4d30f5a83bf3cc2edccda1c104e4da..0f347ecd9ed7abdb317527ea05ae418a19e1a948 100644 |
--- a/remoting/host/host_service_win.cc |
+++ b/remoting/host/host_service_win.cc |
@@ -23,10 +23,11 @@ |
#include "base/stringprintf.h" |
#include "base/threading/thread.h" |
#include "base/win/wrapped_window_proc.h" |
- |
+#include "remoting/base/breakpad.h" |
#include "remoting/base/scoped_sc_handle_win.h" |
#include "remoting/host/branding.h" |
#include "remoting/host/host_service_resource.h" |
+#include "remoting/host/usage_stats_consent.h" |
#include "remoting/host/wts_console_observer_win.h" |
#include "remoting/host/wts_session_process_launcher_win.h" |
@@ -410,6 +411,10 @@ LRESULT CALLBACK HostService::SessionChangeNotificationProc(HWND hwnd, |
} // namespace remoting |
int main(int argc, char** argv) { |
+ if (remoting::IsCrashReportingEnabled()) { |
+ remoting::InitializeCrashReporting(); |
+ } |
+ |
CommandLine::Init(argc, argv); |
// This object instance is required by Chrome code (for example, |