summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remoting/host/setup/daemon_controller_win.cc15
-rw-r--r--remoting/webapp/host_setup_dialog.js2
2 files changed, 7 insertions, 10 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;
}
diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js
index a9b6e5c..c410ece 100644
--- a/remoting/webapp/host_setup_dialog.js
+++ b/remoting/webapp/host_setup_dialog.js
@@ -183,7 +183,7 @@ remoting.HostSetupDialog.prototype.showForStartWithToken_ = function(token) {
that.usageStatsCheckbox_.disabled = set_by_policy;
};
this.usageStats_.hidden = false;
- this.usageStatsCheckbox_.checked = true;
+ this.usageStatsCheckbox_.checked = false;
this.hostController_.getConsent(onGetConsent);
var flow = [