aboutsummaryrefslogtreecommitdiff
path: root/cast
diff options
context:
space:
mode:
authorJordan Bayles <jophba@chromium.org>2019-10-10 16:57:56 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-15 01:14:32 +0000
commitc56f0388085f0e0d4df657498381f35317fbf041 (patch)
tree7e4b3a97be5afaa0bb2150a4bb8092d72e1e5e5a /cast
parent3c7b219515ea1d2e10377405be8631ff20c7070d (diff)
downloadopenscreen-c56f0388085f0e0d4df657498381f35317fbf041.tar.gz
Add Mac OS X ScopedWakeLock implementation
This patch adds a Mac-only ScopedWakeLock implementation, using the IOPM library. Note that a global is necessary to keep track of state. This is done using a new LockState type that is privately held by ScopedWakeLockMac. Change-Id: Ia69dd754533d636f96dd97f45c2c9a15a7f146e5 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1854787 Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'cast')
0 files changed, 0 insertions, 0 deletions