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

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

Issue 752463002: Remove unused WebMIMERegistry (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/MIMETypeFromURL.cpp ('k') | sky/engine/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/MIMETypeRegistry.h
diff --git a/sky/engine/platform/MIMETypeRegistry.h b/sky/engine/platform/MIMETypeRegistry.h
index 65e1dc093f296196358a284bc3fb7ad3029ae866..0ad94c9690b82bf4643e214ab688d82b768ca453 100644
--- a/sky/engine/platform/MIMETypeRegistry.h
+++ b/sky/engine/platform/MIMETypeRegistry.h
@@ -35,32 +35,8 @@ namespace blink {
class PLATFORM_EXPORT MIMETypeRegistry {
public:
- static String getMIMETypeForExtension(const String& extension);
- static String getWellKnownMIMETypeForExtension(const String& extension);
-
- static String getMIMETypeForPath(const String& path);
-
- // Check to see if a mime type is suitable for being loaded inline as an
- // image (e.g., <img> tags).
- static bool isSupportedImageMIMEType(const String& mimeType);
-
- // Check to see if a mime type is suitable for being loaded as an image
- // document in a frame.
- static bool isSupportedImageResourceMIMEType(const String& mimeType);
-
- // Check to see if a mime type is suitable for being displayed as an image.
- static bool isSupportedImagePrefixedMIMEType(const String& mimeType);
-
// Check to see if a mime type is suitable for being encoded.
static bool isSupportedImageMIMETypeForEncoding(const String& mimeType);
-
- // Check to see if a mime type is suitable for being loaded as a JavaScript
- // resource.
- static bool isSupportedJavaScriptMIMEType(const String& mimeType);
-
- // Check to see if a non-image mime type is suitable for being loaded as a
- // document in a frame. Includes supported JavaScript MIME types.
- static bool isSupportedNonImageMIMEType(const String& mimeType);
};
} // namespace blink
« no previous file with comments | « sky/engine/platform/MIMETypeFromURL.cpp ('k') | sky/engine/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698