Chromium Code Reviews| Index: chrome/renderer/media/chrome_key_systems.cc |
| diff --git a/chrome/renderer/media/chrome_key_systems.cc b/chrome/renderer/media/chrome_key_systems.cc |
| index ba65f65977ea3faf6c69915c2fd82668159cae90..84065f79d815f6613cb171ff7f7624682fbd4774 100644 |
| --- a/chrome/renderer/media/chrome_key_systems.cc |
| +++ b/chrome/renderer/media/chrome_key_systems.cc |
| @@ -134,6 +134,8 @@ static void AddExternalClearKey( |
| "org.chromium.externalclearkey.decryptonly"; |
| static const char kExternalClearKeyFileIOTestKeySystem[] = |
| "org.chromium.externalclearkey.fileiotest"; |
| + static const char kExternalClearKeyOutputProtectionTestKeySystem[] = |
| + "org.chromium.externalclearkey.outputprotectiontest"; |
| static const char kExternalClearKeyInitializeFailKeySystem[] = |
| "org.chromium.externalclearkey.initializefail"; |
| static const char kExternalClearKeyCrashKeySystem[] = |
| @@ -158,6 +160,10 @@ static void AddExternalClearKey( |
| concrete_key_systems->emplace_back( |
| new ExternalClearKeyProperties(kExternalClearKeyFileIOTestKeySystem)); |
| + // A key system that triggers output protection test in ClearKeyCdm. |
|
ddorwin
2016/06/23 19:24:28
nit: triggers *the*...
Same at 160.
xhwang
2016/06/23 20:53:49
Done.
|
| + concrete_key_systems->emplace_back(new ExternalClearKeyProperties( |
| + kExternalClearKeyOutputProtectionTestKeySystem)); |
| + |
| // A key system that Chrome thinks is supported by ClearKeyCdm, but actually |
| // will be refused by ClearKeyCdm. This is to test the CDM initialization |
| // failure case. |