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

Unified Diff: sky/engine/platform/MIMETypeRegistry.cpp

Issue 689373003: Remove most of the media stack. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/platform/MIMETypeRegistry.h ('k') | sky/engine/platform/exported/WebMediaConstraints.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/MIMETypeRegistry.cpp
diff --git a/sky/engine/platform/MIMETypeRegistry.cpp b/sky/engine/platform/MIMETypeRegistry.cpp
index 8b697467c020e7473de1114062f5826bbd57cb79..5335b0187289bb90cdc25ade66747c0b13835e6d 100644
--- a/sky/engine/platform/MIMETypeRegistry.cpp
+++ b/sky/engine/platform/MIMETypeRegistry.cpp
@@ -98,16 +98,4 @@ bool MIMETypeRegistry::isSupportedNonImageMIMEType(const String& mimeType)
!= blink::WebMimeRegistry::IsNotSupported;
}
-bool MIMETypeRegistry::isSupportedMediaSourceMIMEType(const String& mimeType, const String& codecs)
-{
- return !mimeType.isEmpty()
- && blink::Platform::current()->mimeRegistry()->supportsMediaSourceMIMEType(mimeType.lower(), codecs);
-}
-
-bool MIMETypeRegistry::isSupportedEncryptedMediaMIMEType(const String& keySystem, const String& mimeType, const String& codecs)
-{
- // Key system names are case-sensitive!
- return blink::Platform::current()->mimeRegistry()->supportsEncryptedMediaMIMEType(keySystem, mimeType.lower(), codecs);
-}
-
} // namespace blink
« no previous file with comments | « sky/engine/platform/MIMETypeRegistry.h ('k') | sky/engine/platform/exported/WebMediaConstraints.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698