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

Unified Diff: Source/core/platform/chromium/MIMETypeRegistryChromium.cpp

Issue 14722011: MediaPlayer cleanup, part one of N (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/core/platform/MIMETypeRegistry.h ('k') | Source/core/platform/graphics/MediaPlayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/MIMETypeRegistryChromium.cpp
diff --git a/Source/core/platform/chromium/MIMETypeRegistryChromium.cpp b/Source/core/platform/chromium/MIMETypeRegistryChromium.cpp
index 20fd6db81836d80c1c812c4d725250616fd1c30d..709218fa244b5fb24590da074b6d49201d8f4491 100644
--- a/Source/core/platform/chromium/MIMETypeRegistryChromium.cpp
+++ b/Source/core/platform/chromium/MIMETypeRegistryChromium.cpp
@@ -119,13 +119,6 @@ bool MIMETypeRegistry::isSupportedNonImageMIMEType(const String& mimeType)
!= WebKit::WebMimeRegistry::IsNotSupported;
}
-bool MIMETypeRegistry::isSupportedMediaMIMEType(const String& mimeType)
-{
- HashSet<String> supportedMediaMIMETypes;
- MediaPlayer::getSupportedTypes(supportedMediaMIMETypes);
- return !mimeType.isEmpty() && supportedMediaMIMETypes.contains(mimeType);
-}
-
bool MIMETypeRegistry::isSupportedMediaSourceMIMEType(const String& mimeType, const String& codecs)
{
return !mimeType.isEmpty() && !codecs.isEmpty()
« no previous file with comments | « Source/core/platform/MIMETypeRegistry.h ('k') | Source/core/platform/graphics/MediaPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698