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

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

Issue 2780463002: Introduce blink::Script (Closed)
Patch Set: style Created 3 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
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);

Powered by Google App Engine
This is Rietveld 408576698