Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 30d44dc7edc94b0a5f7a744ad5d6ae56bc326c2b..02943bf48f9541476cf1dc93ad3a56067814d39d 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -21,6 +21,7 @@ |
#include "build/build_config.h" |
#include "crypto/nss_util.h" |
#include "net/base/network_change_notifier.h" |
+#include "remoting/base/breakpad.h" |
#include "remoting/base/constants.h" |
#include "remoting/host/branding.h" |
#include "remoting/host/constants.h" |
@@ -37,6 +38,7 @@ |
#include "remoting/host/log_to_server.h" |
#include "remoting/host/policy_hack/nat_policy.h" |
#include "remoting/host/signaling_connector.h" |
+#include "remoting/host/usage_stats_consent.h" |
#include "remoting/jingle_glue/xmpp_signal_strategy.h" |
#include "remoting/protocol/me2me_host_authenticator_factory.h" |
@@ -557,6 +559,10 @@ int CALLBACK WinMain(HINSTANCE instance, |
HINSTANCE previous_instance, |
LPSTR command_line, |
int show_command) { |
+ if (remoting::IsCrashReportingEnabled()) { |
+ remoting::InitializeCrashReporting(); |
+ } |
+ |
g_hModule = instance; |
// Register and initialize common controls. |