media: Improvements on supported CDM version checks

- Roll src/media/cdm/api/ 163f87884..d12602556 (1 commit)
  2018-04-26 xhwang cdm: Mark CDM_10 interface as stable
- Update Chromium to use the latest stable CDM_10 interface, e.g.
  now cdm::ContentDecryptionModule is not defined anymore.
- Use an std::array kSupportedCdmVersions to store information about
  supported and enabled (by default) CDM interface versions.
- Simplify IsSupported* functions.
- Add static assert to make sure the CDM Host interface for a supported
  CDM interface is also supported.
- Add static assert to make sure experimental CDM interface is never
  enabled by default.

NOPRESUBMIT is specified to workaround the media presubmit on histogram
enum UMA style check. See https://crbug.com/772494.

NOPRESUBMIT=true

Bug: 733821
Test: No functionality change.
Change-Id: I236a24106354ea9210e703bae5a13dc4238f93d3
Reviewed-on: https://chromium-review.googlesource.com/1035783
Commit-Queue: Xiaohan Wang <[email protected]>
Reviewed-by: John Rummell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#555542}
4 files changed