Index: third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.h |
diff --git a/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.h b/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.h |
index 66d049be1f779378f5253f8ee21621e1cb6eb3e8..c34cd20a4f71066143ced526c901856e6a1f960f 100644 |
--- a/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.h |
+++ b/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.h |
@@ -69,6 +69,8 @@ class PLATFORM_EXPORT MIMETypeRegistry { |
// resource. |
static bool isSupportedJavaScriptMIMEType(const String& mimeType); |
+ static bool isLegacySupportedJavaScriptLanguage(const String& language); |
kouhei (in TOK)
2017/04/06 09:42:35
Please split CL or document this change in desc
hiroshige
2017/04/06 17:36:29
Split as https://codereview.chromium.org/280652300
|
+ |
// Checks 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); |