media: Add OutputProtectionProxy
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. BUG=592122,589618 TEST=Added new tests. Review-Url: https://codereview.chromium.org/2085063002 Cr-Commit-Position: refs/heads/master@{#401896}
Showing
Please register or sign in to comment