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

Unified Diff: third_party/WebKit/Source/platform/MIMETypeRegistry.h

Issue 2440163002: Cleanup WebMIMERegistry implementation and fix LinkLoader behavior (Closed)
Patch Set: minor fix Created 4 years, 2 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
Index: third_party/WebKit/Source/platform/MIMETypeRegistry.h
diff --git a/third_party/WebKit/Source/platform/MIMETypeRegistry.h b/third_party/WebKit/Source/platform/MIMETypeRegistry.h
index b9ab4389e4978a233fc4fffe82f66e8947db3adf..b7531f3d592a9d06a59d54ef0434311aac116990 100644
--- a/third_party/WebKit/Source/platform/MIMETypeRegistry.h
+++ b/third_party/WebKit/Source/platform/MIMETypeRegistry.h
@@ -65,6 +65,10 @@ class PLATFORM_EXPORT MIMETypeRegistry {
// document in a frame. Includes supported JavaScript MIME types.
static bool isSupportedNonImageMIMEType(const String& mimeType);
+ // Check to see if the mime type and codecs are supported media MIME types.
+ static bool isSupportedMediaMIMEType(const String& mimeType,
+ const String& codecs);
+
// Check to see if the mime type and codecs are supported by the MediaSource
// implementation.
static bool isSupportedMediaSourceMIMEType(const String& mimeType,

Powered by Google App Engine
This is Rietveld 408576698