| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index bb87fb557a53e0a96a2bb92fca442f6a29e8743b..e5be9d309bbd87c66ae859381413085369104a8e 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -565,7 +565,8 @@ int CALLBACK WinMain(HINSTANCE instance,
|
| LPSTR command_line,
|
| int show_command) {
|
| // Initializes the crash dump reports.
|
| - if (remoting::IsCrashReportingEnabled()) {
|
| + bool allowed;
|
| + if (remoting::GetUsageStatsConsent(NULL, &allowed) && allowed) {
|
| remoting::InitializeCrashReporting();
|
| }
|
|
|
|
|