0

media: Remove persistent usage record session type

As Persistent Usage Record is removed from the EME Spec, and is not
used, remove references to it.

Bug: 40170205
Change-Id: I114d972e4c72938ebc0b8555c15066b1b3b5cdec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6207973
Commit-Queue: Vikram Pasupathy <vpasupathy@chromium.org>
Reviewed-by: John Rummell <jrummell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413058}
This commit is contained in:
Vikram Pasupathy
2025-01-29 11:24:16 -08:00
committed by Chromium LUCI CQ
parent c637e4d351
commit a0da4fd648
3 changed files with 2 additions and 6 deletions

2
DEPS

@ -1533,7 +1533,7 @@ deps = {
},
'src/media/cdm/api':
Var('chromium_git') + '/chromium/cdm.git' + '@' + '06395a2863cb1ebdb47617a995b73f95c14fe120',
Var('chromium_git') + '/chromium/cdm.git' + '@' + '5a1675c86821a48f8983842d07f774df28dfb43c',
'src/native_client': {
'url': Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),

@ -115,10 +115,6 @@ CdmSessionType ToMediaSessionType(cdm::SessionType session_type) {
return CdmSessionType::kTemporary;
case cdm::kPersistentLicense:
return CdmSessionType::kPersistentLicense;
// TODO(crbug.com/40170205): Remove after `kPersistentUsageRecord` is
// removed from the CDM interface.
case cdm::kPersistentUsageRecord:
break;
}
NOTREACHED() << "Unexpected cdm::SessionType " << session_type;