commit | d54f936badc7666b7b0fb09c545942836e4e9943 | [log] [tgz] |
---|---|---|
author | ke.he <ke.he@intel.com> | Thu May 11 09:25:13 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 11 09:25:13 2017 |
tree | 72770d7ba16e69b4f3ec2ba12e9690f6f9dd9ed3 | |
parent | e563fd2fa55fd2d327c0f44bcfe6c4c98805bb55 [diff] |
Convert MediaWebContentsObsever to be the client of WakeLock mojo interface. Convert MediaWebContentsObsever to be the client of WakeLock mojo interface instead of direct client of PowerSaveBlocker. TEST = Play audio or video and check the OS level wake locks. On macOS: pmset -g assertions On Windows: powercfg /requests. BUG=689413 TBR=<jam@chromium.org> Review-Url: https://codereview.chromium.org/2846813002 Cr-Commit-Position: refs/heads/master@{#470889}