Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: media/blink/webcontentdecryptionmodulesession_impl.cc

Issue 1005213002: Add missing CdmKeyInformation enum values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename enum for Windows Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/cdm_key_information.h ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webcontentdecryptionmodulesession_impl.cc
diff --git a/media/blink/webcontentdecryptionmodulesession_impl.cc b/media/blink/webcontentdecryptionmodulesession_impl.cc
index e458c55cc7549255f25b6d8984958cb35f385842..a0b13a7f45d68f609508851a54ea1f97d45bbd45 100644
--- a/media/blink/webcontentdecryptionmodulesession_impl.cc
+++ b/media/blink/webcontentdecryptionmodulesession_impl.cc
@@ -62,6 +62,11 @@ static blink::WebEncryptedMediaKeyInformation::KeyStatus convertStatus(
case media::CdmKeyInformation::OUTPUT_NOT_ALLOWED:
return blink::WebEncryptedMediaKeyInformation::KeyStatus::
OutputNotAllowed;
+ case media::CdmKeyInformation::OUTPUT_DOWNSCALED:
+ return blink::WebEncryptedMediaKeyInformation::KeyStatus::
+ OutputDownscaled;
+ case media::CdmKeyInformation::KEY_STATUS_PENDING:
+ return blink::WebEncryptedMediaKeyInformation::KeyStatus::StatusPending;
}
NOTREACHED();
« no previous file with comments | « media/base/cdm_key_information.h ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698