summaryrefslogtreecommitdiff
path: root/payload_consumer/filesystem_verifier_action_unittest.cc
diff options
context:
space:
mode:
authorAdolfo Victoria <adokar@google.com>2018-07-19 14:18:11 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-07-25 19:45:34 -0700
commit0dbf1f9b946a11a76116322d5603d0f11a206dc5 (patch)
treed9c8f21c983e1c723ce5f13667942bf05b057215 /payload_consumer/filesystem_verifier_action_unittest.cc
parent0882a5198b58173044e8b4b28eb4d30b1bcfe230 (diff)
update_engine: Modify Update Time Restrictions to block downloads
This makes Update Time Restrictions policy block downloads rather than checks. This will allow for better capturing of metrics. Furthermore, this change makes Update Time Restrictions only apply for kiosks, per the discussion with security and PM. The following changes are made: * Use UpdateCanBeApplied rather than UpdateCheckAllowed in UpdateTimeRestrictionsPolicyImpl. * ChromeOSPolicy::UpdateCanBeApplied now checks for forced updates. Modify the corresponding classes to implement UpdateCanBeApplied. * Add the auto_launched_kiosk_app_id variable from libbrillo to the policy provider, this variable lets us know if the device is in kiosk-mode. * If the device is not in kiosk mode, this policy won't be used. * Change chromeos_policy to check for policies in UpdateCanBeApplied. * Add unit tests accounting for the new changes. BUG=chromium:852860 TEST=cros_workon_make update_engine --test Change-Id: Iba52fa0fd1f89cc55e5009776036f8949e01e3a0 Reviewed-on: https://chromium-review.googlesource.com/1144435 Commit-Ready: Adolfo Higueros <adokar@google.com> Tested-by: Adolfo Higueros <adokar@google.com> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'payload_consumer/filesystem_verifier_action_unittest.cc')
0 files changed, 0 insertions, 0 deletions