Unprefixed EME: Check that key system is explicitly supported or begins with 'x-'.
commit3d1d8a66842259f071b98c4a87c0cc460a21f5b5
authorddorwin <ddorwin@chromium.org>
Fri, 20 Feb 2015 07:27:58 +0000 (19 23:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 07:28:22 +0000 (20 07:28 +0000)
tree1893dd166677282c88c3c281e0dc381747ca6cab
parent7b8da89177433e1f551afd684b0fe6c24fdf71e8
Unprefixed EME: Check that key system is explicitly supported or begins with 'x-'.

A key system registered by an embedder but not explicitly supported in Chromium
may not be exposed in an interoperable way. This check prevents misuse of
such key system names by default to avoid compatibility issues.

BUG=393397

Review URL: https://codereview.chromium.org/944653003

Cr-Commit-Position: refs/heads/master@{#317263}
media/base/key_systems.cc
media/base/key_systems_unittest.cc
media/cdm/key_system_names.cc
media/cdm/key_system_names.h