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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 875073004: Don't update Media.EME.KeySystemSupport UMA for unprefixed EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | media/base/key_systems.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 2894dc6cefbf4328f28d36fd75d0bc67b495fa52..9d81ad1f83a090371255aa1362816171988e96e6 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -420,7 +420,7 @@ RendererBlinkPlatformImpl::MimeRegistry::supportsMediaMIMEType(
net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, true);
if (!media::IsSupportedKeySystemWithMediaMimeType(
ddorwin 2015/01/27 00:51:51 Instead of adding a bool, the purpose of which is
jrummell 2015/02/03 00:40:49 Done.
- mime_type_ascii, strict_codecs, key_system_ascii)) {
+ mime_type_ascii, strict_codecs, key_system_ascii, true)) {
return IsNotSupported;
}
@@ -479,7 +479,7 @@ bool RendererBlinkPlatformImpl::MimeRegistry::supportsEncryptedMediaMIMEType(
strip_suffix);
return media::IsSupportedKeySystemWithMediaMimeType(
- mime_type_ascii, codec_vector, base::UTF16ToASCII(key_system));
+ mime_type_ascii, codec_vector, base::UTF16ToASCII(key_system), true);
ddorwin 2015/01/27 00:51:51 That makes true incorrect.
jrummell 2015/02/03 00:40:49 Done.
}
WebString RendererBlinkPlatformImpl::MimeRegistry::mimeTypeForExtension(
« no previous file with comments | « no previous file | media/base/key_systems.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698