(reland) media: Add OutputProtectionProxy
This reverts commit 7ce3db95 and relands 22f8a43c without changes. I believe the failure would be fixed after the bots are clobbered. Original Description: This class handles output protection query and request in the browser process on all platforms. On ChromeOS, it delegates the operations on the hardware displays to OutputProtectionDelegate. On other platforms, it does not check hardware displays. On all platforms, it checks whether there is any network link and adds it to the existing link mask. This class will also be used to implement mojo OutputProtection service on all platforms. This CL also updated PPAPI cdm adapter and PPAPI code to enable output protection calls on all platforms. A unit test is added via external clear key tests. TBR=ddorwin@chromium.org, jrummell@chromium.org, oshima@chromium.org, bbudge@chromium.org BUG=592122, 589618, 623214 TEST=Added new tests. Review-Url: https://codereview.chromium.org/2094903005 Cr-Commit-Position: refs/heads/master@{#412560}
Showing
Please register or sign in to comment