commit | 840dc0a7c0eacb82070efe833ef3aacc7b2e89cb | [log] [tgz] |
---|---|---|
author | Francois Doray <fdoray@chromium.org> | Thu Jul 12 20:54:33 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 12 20:54:33 2018 |
tree | 51d267dc7bc6be0671e3ae959ca9449adf0ec142 | |
parent | 3e44f3be427bb7222e8e20640e261d620478e8bc [diff] |
RC: Record Chrome usage time when a LifecycleUnit is hidden. With this CL, the total Chrome usage time measured by UsageClock is recorded in a LifecycleUnit when it is hidden. In an upcoming CL, this will be used to discard a LifecycleUnit after a given amount of Chrome usage time has elapsed since it was hidden. We also record the wall time when a LifecycleUnit is hidden, because freezing occurs when a LifeycleUnit has been hidden for a given amount of wall clock time, not Chrome usage time. Bug: 775644 Change-Id: I76d504e9bbf3eb86ded1203e4e117086faf93277 Reviewed-on: https://chromium-review.googlesource.com/1133593 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Sébastien Marchand <sebmarchand@chromium.org> Cr-Commit-Position: refs/heads/master@{#574712}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .