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

Unified Diff: Source/platform/MIMETypeRegistry.h

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/devtools/front_end/workspace/UISourceCode.js ('k') | Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/MIMETypeRegistry.h
diff --git a/Source/platform/MIMETypeRegistry.h b/Source/platform/MIMETypeRegistry.h
index 1cd05aa58528ce56af65aef835070e345b53e6c0..d1f0a5aefced9805c5f2412d6753f55c1a55c5ae 100644
--- a/Source/platform/MIMETypeRegistry.h
+++ b/Source/platform/MIMETypeRegistry.h
@@ -58,6 +58,10 @@ public:
// resource.
static bool isSupportedJavaScriptMIMEType(const String& mimeType);
+ // Check to see if a mime type is suitable for being loaded as a Dart
+ // resource.
+ static bool isSupportedDartMIMEType(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);
« no previous file with comments | « Source/devtools/front_end/workspace/UISourceCode.js ('k') | Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698