summaryrefslogtreecommitdiff
path: root/common/error_code_utils.cc
diff options
context:
space:
mode:
authorMarton Hunyady <hunyadym@chromium.org>2018-04-25 15:18:10 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-05-10 15:09:45 -0700
commitba51c3f54c88170d562c6e3af3f4820ee47aeb68 (patch)
tree675f4e16eb2ad9783ffa305e24fc17890facd7b0 /common/error_code_utils.cc
parent99ced78e2e5d6ad70c6cd274300f42b9a56a65b1 (diff)
update_engine: Add rollback_allowed policy in Omaha requests
Send rollback_allowed="true" parameter to Omaha if rollback is allowed through enterprise policy. This parameter indicates to Omaha that the returned image might be a rollback image, if the targetversionprefix parameter is set and it is an earlier version than the one which is currently on the device. Also, this CL changes update_engine behavior to only send targetversionprefix to Omaha if it's not empty. BUG=chromium:814830 TEST='cros_run_unit_tests --board=cyan --packages update_engine' Change-Id: Iaa5503e217631311fb9ba3a5237ccbfedf04afe9 Reviewed-on: https://chromium-review.googlesource.com/932123 Commit-Ready: Marton Hunyady <hunyadym@chromium.org> Tested-by: Marton Hunyady <hunyadym@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'common/error_code_utils.cc')
0 files changed, 0 insertions, 0 deletions