Observe Time or Timezone changes in PerAppTimeLimit.
This CL observes time or timezone changes in per app time limits. If the time or timezone changes result in crossing 24 hours + the last saved reset time, we reset the running active times. If the time or timezone changes result in |base::Time::Now()| being before the last reset time, we reset the running active times. Bug: 1034551 Change-Id: Iac0d3fcd1c41e1ad33f36a5997a958b31584d03e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2008280Reviewed-by:Aga Wronska <agawronska@chromium.org> Commit-Queue: Yilkal Abe <yilkal@chromium.org> Cr-Commit-Position: refs/heads/master@{#737101}
Showing
Please register or sign in to comment