summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/daemon_controller_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/setup/daemon_controller_win.cc')
-rw-r--r--remoting/host/setup/daemon_controller_win.cc15
1 files changed, 6 insertions, 9 deletions
diff --git a/remoting/host/setup/daemon_controller_win.cc b/remoting/host/setup/daemon_controller_win.cc
index fd96af2..5d1ac62 100644
--- a/remoting/host/setup/daemon_controller_win.cc
+++ b/remoting/host/setup/daemon_controller_win.cc
@@ -636,11 +636,9 @@ void DaemonControllerWin::DoGetUsageStatsConsent(
// Activate the Daemon Controller and see if it supports |IDaemonControl2|.
HRESULT hr = ActivateController();
if (FAILED(hr)) {
- // The host is not installed yet. Assume that the user's consent is not
- // recorded yet and set the default value to true. This value will not come
- // into effect until the user installs the host and agrees to crash
- // dump reporting.
- done.Run(true, true, false);
+ // The host is not installed yet. Assume that the user didn't consent to
+ // collecting crash dumps.
+ done.Run(true, false, false);
return;
}
@@ -655,10 +653,9 @@ void DaemonControllerWin::DoGetUsageStatsConsent(
BOOL set_by_policy;
hr = control2_->GetUsageStatsConsent(&allowed, &set_by_policy);
if (FAILED(hr)) {
- // If the user's consent is not recorded yet, set the default value to true.
- // This value will not come into effect until the user agrees to crash
- // dump reporting.
- done.Run(true, true, false);
+ // If the user's consent is not recorded yet, assume that the user didn't
+ // consent to collecting crash dumps.
+ done.Run(true, false, false);
return;
}