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

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

Issue 2806523002: Move isLegacySupportedJavaScriptLanguage() to MIMETypeRegistry (Closed)
Patch Set: 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 e2966d748c060a93a342a6490cd4184a3f4a278e..612045869df47ba18fd927e381c334ba3a8b6ae6 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);
+
// 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