-
Saman Sami authored
Current video detector is broken with Viz enabled. Move parts of ash::VideoDetector that need to be run in Viz process into viz::VideoDetector and notify ash::VideoDetector over mojo. I don't expect any regressions in behaviour. One improvement is that when the video activity is happening in an occluded window, the new video detector does not report that activity, whereas the old video detector did. Test: There are unit tests. I also tried --mash, --mus,--enable-viz, and no flags manually for a chromeos build on my workstation. Also tried --mash and --mus and no flags manually on a link chromebook. BUG=775035 Change-Id: I5098492edaf5cce08f9ba6c50a5d7482eb739426 Reviewed-on: https://chromium-review.googlesource.com/702044 Reviewed-by: kylechar <kylechar@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Yuzhu Shen <yzshen@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org> Commit-Queue: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#515186}
3fb310da