summaryrefslogtreecommitdiffstats
path: root/dom/media/eme/EMEUtils.cpp
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-11-09 21:42:45 +0530
committeradeshkp <adeshkp@users.noreply.github.com>2019-11-10 06:01:40 -0500
commit0fb5f7a158e0a5a610e1ba85cf408525964d746e (patch)
tree22df72bc308a67dffec02c0aa94ff2969e78e209 /dom/media/eme/EMEUtils.cpp
parent736d25cbec4541186ed46c935c117ce4d1c7f3bb (diff)
downloadUXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.gz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.lz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.xz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.zip
Issue #1259 - Part 1. Remove Adobe Primetime support from tree
Diffstat (limited to 'dom/media/eme/EMEUtils.cpp')
-rw-r--r--dom/media/eme/EMEUtils.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/dom/media/eme/EMEUtils.cpp b/dom/media/eme/EMEUtils.cpp
index c248b3a24..11eb0026e 100644
--- a/dom/media/eme/EMEUtils.cpp
+++ b/dom/media/eme/EMEUtils.cpp
@@ -54,12 +54,6 @@ IsClearkeyKeySystem(const nsAString& aKeySystem)
}
bool
-IsPrimetimeKeySystem(const nsAString& aKeySystem)
-{
- return !CompareUTF8toUTF16(kEMEKeySystemPrimetime, aKeySystem);
-}
-
-bool
IsWidevineKeySystem(const nsAString& aKeySystem)
{
return !CompareUTF8toUTF16(kEMEKeySystemWidevine, aKeySystem);
@@ -68,9 +62,6 @@ IsWidevineKeySystem(const nsAString& aKeySystem)
nsString
KeySystemToGMPName(const nsAString& aKeySystem)
{
- if (IsPrimetimeKeySystem(aKeySystem)) {
- return NS_LITERAL_STRING("gmp-eme-adobe");
- }
if (IsClearkeyKeySystem(aKeySystem)) {
return NS_LITERAL_STRING("gmp-clearkey");
}
@@ -88,8 +79,6 @@ ToCDMTypeTelemetryEnum(const nsString& aKeySystem)
return CDMType::eWidevine;
} else if (IsClearkeyKeySystem(aKeySystem)) {
return CDMType::eClearKey;
- } else if (IsPrimetimeKeySystem(aKeySystem)) {
- return CDMType::ePrimetime;
}
return CDMType::eUnknown;
}