Index: remoting/host/host_service_win.cc |
diff --git a/remoting/host/host_service_win.cc b/remoting/host/host_service_win.cc |
index 48b83bd05c5b4555a326b87081aa8e71fbaa9120..65b10d0b3343982859c6b5c3926927bdf30e38fa 100644 |
--- a/remoting/host/host_service_win.cc |
+++ b/remoting/host/host_service_win.cc |
@@ -411,9 +411,11 @@ LRESULT CALLBACK HostService::SessionChangeNotificationProc(HWND hwnd, |
} // namespace remoting |
int main(int argc, char** argv) { |
- if (remoting::IsCrashReportingEnabled()) { |
+#ifdef OFFICIAL_BUILD |
+ if (remoting::IsUsageStatsAllowed()) { |
remoting::InitializeCrashReporting(); |
} |
+#endif // OFFICIAL_BUILD |
CommandLine::Init(argc, argv); |