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

Unified Diff: Source/platform/MIMETypeRegistry.cpp

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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 | « Source/platform/MIMETypeRegistry.h ('k') | Source/wtf/ArrayBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/MIMETypeRegistry.cpp
diff --git a/Source/platform/MIMETypeRegistry.cpp b/Source/platform/MIMETypeRegistry.cpp
index 8887aeddc4f47e91c5b8a8d0af1e715051aa0f8c..4e33a83f33b7c09d6b395b454d054b6eba106de8 100644
--- a/Source/platform/MIMETypeRegistry.cpp
+++ b/Source/platform/MIMETypeRegistry.cpp
@@ -98,6 +98,12 @@ bool MIMETypeRegistry::isSupportedJavaScriptMIMEType(const String& mimeType)
!= WebMimeRegistry::IsNotSupported;
}
+bool MIMETypeRegistry::isSupportedDartMIMEType(const String& mimeType)
+{
+ return blink::Platform::current()->mimeRegistry()->supportsDartMIMEType(mimeType)
+ != blink::WebMimeRegistry::IsNotSupported;
+}
+
bool MIMETypeRegistry::isSupportedNonImageMIMEType(const String& mimeType)
{
return Platform::current()->mimeRegistry()->supportsNonImageMIMEType(mimeType.lower())
« no previous file with comments | « Source/platform/MIMETypeRegistry.h ('k') | Source/wtf/ArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698