DescriptionStrip out stream counting from AudioRendererHost.
This allows us to prepare the way for the mojo audio subsystem by
moving out pieces from the AudioRendererHost.
We already have a AudioStreamMonitor delivering notifications to
WebContents, so now it just also delivers a notification to the
RenderProcessHostImpl when a stream is started.
RenderProcessHostImpl tracks the current stream count per process
and uses this for background calculations. Old UMA have been set
as obsolete and the AudioStreamsTracker class is now unused, so
removed.
BUG=670383
TEST=new browsertest
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2655413004
Cr-Commit-Position: refs/heads/master@{#449228}
Committed: https://chromium.googlesource.com/chromium/src/+/36218827374706794314c50713b5614a78562e54
Patch Set 1 #
Total comments: 14
Patch Set 2 : Delete UMA, AudioStreamTracker. Add browser test. #Patch Set 3 : Fix all teh tests. #
Total comments: 6
Patch Set 4 : Add DCHECKs. #Patch Set 5 : Add moar DCHECKs. #Messages
Total messages: 42 (21 generated)
|