summaryrefslogtreecommitdiffstats
path: root/webkit/glue/chromium_bridge_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/chromium_bridge_impl.cc')
-rw-r--r--webkit/glue/chromium_bridge_impl.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/webkit/glue/chromium_bridge_impl.cc b/webkit/glue/chromium_bridge_impl.cc
index 1115d3d..3c53e28 100644
--- a/webkit/glue/chromium_bridge_impl.cc
+++ b/webkit/glue/chromium_bridge_impl.cc
@@ -247,6 +247,18 @@ bool ChromiumBridge::layoutTestMode() {
// MimeType -------------------------------------------------------------------
+bool isSupportedImageMIMEType(const char* mime_type) {
+ return net::IsSupportedImageMimeType(mime_type);
+}
+
+bool isSupportedJavascriptMIMEType(const char* mime_type) {
+ return net::IsSupportedJavascriptMimeType(mime_type);
+}
+
+bool isSupportedNonImageMIMEType(const char* mime_type) {
+ return net::IsSupportedNonImageMimeType(mime_type);
+}
+
bool ChromiumBridge::matchesMIMEType(const String& pattern,
const String& type) {
return net::MatchesMimeType(webkit_glue::StringToStdString(pattern),