| Index: media/cdm/ppapi/supported_cdm_versions.h
|
| diff --git a/media/cdm/ppapi/supported_cdm_versions.h b/media/cdm/ppapi/supported_cdm_versions.h
|
| index 31e9211a10b47fd8b8cabd42b4682ceba83db747..f27d304f88bf6f135b8e7752008d6e0f77639584 100644
|
| --- a/media/cdm/ppapi/supported_cdm_versions.h
|
| +++ b/media/cdm/ppapi/supported_cdm_versions.h
|
| @@ -21,12 +21,12 @@ bool IsSupportedCdmModuleVersion(int version) {
|
|
|
| bool IsSupportedCdmInterfaceVersion(int version) {
|
| static_assert(cdm::ContentDecryptionModule::kVersion ==
|
| - cdm::ContentDecryptionModule_7::kVersion,
|
| + cdm::ContentDecryptionModule_8::kVersion,
|
| "update the code below");
|
| switch(version) {
|
| // Supported versions in decreasing order.
|
| + case cdm::ContentDecryptionModule_8::kVersion:
|
| case cdm::ContentDecryptionModule_7::kVersion:
|
| - case cdm::ContentDecryptionModule_6::kVersion:
|
| return true;
|
| default:
|
| return false;
|
| @@ -35,12 +35,12 @@ bool IsSupportedCdmInterfaceVersion(int version) {
|
|
|
| bool IsSupportedCdmHostVersion(int version) {
|
| static_assert(cdm::ContentDecryptionModule::Host::kVersion ==
|
| - cdm::ContentDecryptionModule_7::Host::kVersion,
|
| + cdm::ContentDecryptionModule_8::Host::kVersion,
|
| "update the code below");
|
| switch(version) {
|
| // Supported versions in decreasing order.
|
| + case cdm::Host_8::kVersion:
|
| case cdm::Host_7::kVersion:
|
| - case cdm::Host_6::kVersion:
|
| return true;
|
| default:
|
| return false;
|
|
|