diff options
author | Adolfo Victoria <adokar@google.com> | 2018-07-27 13:35:24 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-30 23:08:20 -0700 |
commit | 7a7a08251e2e177d17b899a99e7a3ae2592be7e6 (patch) | |
tree | 9347a29365c50628641a2a08aeb16d98781ff308 /common/action_processor_unittest.cc | |
parent | abe4a775df7e9b7b8f09094988f6f1b42acc05a3 (diff) |
update_engine: Change time restrictions to return kSucceeded
Change UpdateTimeRestrictionsPolicyImpl to return kSucceeded
in place of kAskMeAgainLater. Since the former is not an expected
return value.
Background:
Policies in UpdateCanBeApplied should return kSucceeded when
they want to force a decision, since UpdateCanBeApplied is
supposed to only contain sync policies. kAskMeAgainLater is
reserved for async policies.
BUG=chromium:852860
TEST=cros_workon_make update_engine --test and local tests
Change-Id: Ie81a3d09f98ad7aba3c36183873bc153a6b530cf
Reviewed-on: https://chromium-review.googlesource.com/1153624
Commit-Ready: Adolfo Higueros <adokar@google.com>
Tested-by: Adolfo Higueros <adokar@google.com>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: May Lippert <maybelle@chromium.org>
Diffstat (limited to 'common/action_processor_unittest.cc')
0 files changed, 0 insertions, 0 deletions