diff options
author | ddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 17:38:49 +0000 |
---|---|---|
committer | ddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 17:38:49 +0000 |
commit | 98136658ddd5f971ed2f1accfbc11b47ebc503cd (patch) | |
tree | 44021a3dabf0d2c78291ac99e056ba69ced1a45d /third_party/widevine/cdm | |
parent | f2928a99bcc67696cb26ffa5bcc6ce8ad4ff18d4 (diff) | |
download | chromium_src-98136658ddd5f971ed2f1accfbc11b47ebc503cd.zip chromium_src-98136658ddd5f971ed2f1accfbc11b47ebc503cd.tar.gz chromium_src-98136658ddd5f971ed2f1accfbc11b47ebc503cd.tar.bz2 |
Check CDM API version compatibility before registering component.
Compatibility is not checked before installing a component. This should be prevented on the server side.
BUG=311374
TEST=video.canPlayType('video/webm; codecs="vp8"', 'com.widevine.alpha'); is affirmative when manifest contains supported "x-cdm-*-versions" values and "" when any value is unsupported.
Review URL: https://codereview.chromium.org/47513020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/widevine/cdm')
-rw-r--r-- | third_party/widevine/cdm/widevine_cdm.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp index 3028bd5..eaf376a 100644 --- a/third_party/widevine/cdm/widevine_cdm.gyp +++ b/third_party/widevine/cdm/widevine_cdm.gyp @@ -67,6 +67,7 @@ '<(DEPTH)/media/cdm/ppapi/cdm_helpers.h', '<(DEPTH)/media/cdm/ppapi/cdm_wrapper.h', '<(DEPTH)/media/cdm/ppapi/linked_ptr.h', + '<(DEPTH)/media/cdm/ppapi/supported_cdm_versions.h', ], 'conditions': [ [ 'os_posix == 1 and OS != "mac"', { |