| Index: remoting/host/host_service_win.cc
|
| diff --git a/remoting/host/host_service_win.cc b/remoting/host/host_service_win.cc
|
| index e9614bae871b09987b99f0fc5fa2aa0cf2e8bc2e..6052ad53350e93f69ab2a35a27d00cced9686d14 100644
|
| --- a/remoting/host/host_service_win.cc
|
| +++ b/remoting/host/host_service_win.cc
|
| @@ -412,7 +412,8 @@ LRESULT CALLBACK HostService::SessionChangeNotificationProc(HWND hwnd,
|
|
|
| int main(int argc, char** argv) {
|
| // Initializes the crash dump reports.
|
| - if (remoting::IsCrashReportingEnabled()) {
|
| + bool allowed;
|
| + if (remoting::GetUsageStatsConsent(NULL, &allowed) && allowed) {
|
| remoting::InitializeCrashReporting();
|
| }
|
|
|
|
|