commit | 0d11c602430f1d6ba474bdf35317197963083e7c | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Wed Apr 23 20:12:20 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Fri May 02 10:51:37 2014 +0000 |
tree | 0ac06b0ba3fd39b01e5a7a28507aba3b8ffd9903 | |
parent | a6dab94046bcd6c560c822e0175c75427368ab20 [diff] |
PolicyManager: UpdateCheckAllowed policy initial implementation. This patch implements the UpdateCheckAllowed policy for ChromeOS using the same logic we had on update_check_scheduler.cc. It checks for updates onces every 45 minutes and does an exponential backoff up to 4 hours when the update check fails. Some other parts of the policy are not implemented, such as retry an update check with a short delay on certain failures. BUG=chromium:358269 TEST=Unittests added to the policy. Change-Id: Ief8deff47fd6490bd70a22ba20abed05fcc37ab4 Reviewed-on: https://chromium-review.googlesource.com/197595 Reviewed-by: Alex Deymo <deymo@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Alex Deymo <deymo@chromium.org>