Libchrome updates for enterprise policy to scatter downloads of updates.
This CL provides methods to expose the newly added
scatter_factor_in_seconds policy. This policy is used to scatter the
downloads of ChromeOS updates over a given period of time in order to
reduce bandwidth spikes which may otherwise result due to simultaneous
downloads in large enterprises.
BUG=chromeos-29615: Implement scattering of downloads in UpdateEngine
TEST=update_engine works fine with new policy code. Updated unit tests.
Change-Id: I1f56b5516970d5988eebb2cf8f93f6905823801d
Reviewed-on: https://gerrit.chromium.org/gerrit/21557
Reviewed-by: Jay Srinivasan <jaysri@chromium.org>
Tested-by: Jay Srinivasan <jaysri@chromium.org>
Commit-Ready: Jay Srinivasan <jaysri@chromium.org>
5 files changed