| commit | c7ab6168dc9ccb72b9057fd7452c2a9eaf993269 | [log] [tgz] |
|---|---|---|
| author | Alex Deymo <deymo@chromium.org> | Fri Apr 25 18:32:50 2014 -0700 |
| committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Wed Apr 30 12:47:51 2014 +0000 |
| tree | d4296c08f3c65c045c0e299714a6f4273e0010ff | |
| parent | df632d17329738d977494625c7819c9d4a123567 [diff] |
PolicyManager: Add a variable to tell when the Updater was started. This patch adds a new const variable stating when was the updater started in wallclock time. This value is required to schedule an update check shortly after the update_engine starts, but use a higher interval after the first update check. BUG=chromium:358269 TEST=Added unittest. Change-Id: Ife04c280207b5ccbf3a4a7828593cf01d1551a00 Reviewed-on: https://chromium-review.googlesource.com/197200 Reviewed-by: Alex Deymo <deymo@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Alex Deymo <deymo@chromium.org>