| 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 80e92336df1c2b0dff66612dc1a84d7041ff4b75..e5df5ae46689039a8a980ff2efb001808d7170ec 100644
|
| --- a/remoting/host/elevated_controller_module_win.cc
|
| +++ b/remoting/host/elevated_controller_module_win.cc
|
| @@ -32,7 +32,8 @@ remoting::ElevatedControllerModuleWin _AtlModule;
|
|
|
| int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) {
|
| // Initializes the crash dump reports.
|
| - if (remoting::IsCrashReportingEnabled()) {
|
| + bool allowed;
|
| + if (remoting::GetUsageStatsConsent(NULL, &allowed) && allowed) {
|
| remoting::InitializeCrashReporting();
|
| }
|
|
|
|
|