Index: media/base/key_systems.h |
diff --git a/media/base/key_systems.h b/media/base/key_systems.h |
index 4eea0421a58d3915f46054639a35a4b70f06695e..d761abf2c66a3cc1391754588b1a71bfce2b43cc 100644 |
--- a/media/base/key_systems.h |
+++ b/media/base/key_systems.h |
@@ -52,12 +52,19 @@ MEDIA_EXPORT bool IsSupportedKeySystemWithInitDataType( |
// systems. |
MEDIA_EXPORT bool IsConcreteSupportedKeySystem(const std::string& key_system); |
-// Returns whether |key_sytem| supports the specified media type and codec(s). |
+// Returns whether |key_system| supports the specified media type and codec(s). |
MEDIA_EXPORT bool IsSupportedKeySystemWithMediaMimeType( |
const std::string& mime_type, |
const std::vector<std::string>& codecs, |
const std::string& key_system); |
+// Returns whether |key_system| supports the specified media type and codec(s). |
+// To be used with prefixed EME only as it generates UMAs based on the query. |
+MEDIA_EXPORT bool PrefixedIsSupportedKeySystemWithMediaMimeType( |
+ const std::string& mime_type, |
+ const std::vector<std::string>& codecs, |
+ const std::string& key_system); |
+ |
// Returns a name for |key_system| suitable to UMA logging. |
MEDIA_EXPORT std::string GetKeySystemNameForUMA(const std::string& key_system); |