[idle] Use the time-qualified base::TimeDelta instead of a time-agnostic.
We use ints for capturing and passing around deltas of time. This CL moves all of those uses to base::TimeDelta, which benefits us by being clearer about units (e.g. seconds, mins, etc) and semantics in tests. Bug: 878979 Change-Id: I5ad1cfc105882b63af7a974a72576212c773cb4a Reviewed-on: https://chromium-review.googlesource.com/c/1492991 Commit-Queue: Sam Goto <goto@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Auto-Submit: Sam Goto <goto@chromium.org> Cr-Commit-Position: refs/heads/master@{#636529}
Showing
Please register or sign in to comment