diff options
author | chirantan <chirantan@chromium.org> | 2015-03-09 13:48:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-09 20:49:43 +0000 |
commit | 7f8789c70bb9049c9357f512e92f8b44c061e892 (patch) | |
tree | bdaf22837f5018673b33b440ac847a3bc39fe404 /WATCHLISTS | |
parent | 496c0b55f055b8b421169196a3597246b119bac1 (diff) | |
download | chromium_src-7f8789c70bb9049c9357f512e92f8b44c061e892.zip chromium_src-7f8789c70bb9049c9357f512e92f8b44c061e892.tar.gz chromium_src-7f8789c70bb9049c9357f512e92f8b44c061e892.tar.bz2 |
Use base::PowerObserver to check for missed heartbeats
base::PowerObserver provides a platform-agnostic way to be notified
about system suspend and resume events. Use it to check for missed
heartbeats instead of polling. Unfortunately we still need to poll on
linux because there is no common system-wide notification about suspend
and resume events.
BUG=421725
Review URL: https://codereview.chromium.org/989803002
Cr-Commit-Position: refs/heads/master@{#319730}
Diffstat (limited to 'WATCHLISTS')
0 files changed, 0 insertions, 0 deletions