MediaStreamManager: listen to and log OnThermalStateChange
crrev.com/c/2195334 just landed PowerObserver::OnThermalStateChange, this CL listens to it from MediaStreamManager and logs it in the WebRTC log. The utility function PowerMonitorSource::DeviceThermalStateToString gets #if DCHECK_IS_ON() removed to be used from the new code, which runs also in non-dcheck_always_on builds. Bug: 1071431 Change-Id: I5641ae5a96e4ca9504498821ffb3ea91adbec18a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207410Reviewed-by:François Doray <fdoray@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Reviewed-by:
Henrik Boström <hbos@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#771045}
Showing
Please register or sign in to comment