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

Unified Diff: content/renderer/media/webcontentdecryptionmodule_impl.h

Issue 557723003: Implement Chromium side of MediaKeys.isTypeSupported(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Requested changes. Created 6 years, 3 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
Index: content/renderer/media/webcontentdecryptionmodule_impl.h
diff --git a/content/renderer/media/webcontentdecryptionmodule_impl.h b/content/renderer/media/webcontentdecryptionmodule_impl.h
index 2619e5610b3eeea3a0ca232bd018536aac3a85e5..8b22a41df04545610236aed3789242c80dc3ea66 100644
--- a/content/renderer/media/webcontentdecryptionmodule_impl.h
+++ b/content/renderer/media/webcontentdecryptionmodule_impl.h
@@ -44,6 +44,13 @@ class WebContentDecryptionModuleImpl
const blink::WebSecurityOrigin& security_origin,
const base::string16& key_system);
+ static blink::WebContentDecryptionModule::KeySystemSupportedResult
+ IsKeySystemSupported(const blink::WebString& key_system,
+ const blink::WebString& init_data_type,
+ const blink::WebString& container,
+ const blink::WebString& codecs,
+ const blink::WebString& capability);
+
virtual ~WebContentDecryptionModuleImpl();
// Returns the Decryptor associated with this CDM. May be NULL if no

Powered by Google App Engine
This is Rietveld 408576698