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

Unified Diff: webkit/glue/chromium_bridge_impl.cc

Issue 12004: Remove dependencies on base/ from MIMETypeRegistry.cpp (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « no previous file | webkit/port/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chromium_bridge_impl.cc
===================================================================
--- webkit/glue/chromium_bridge_impl.cc (revision 6033)
+++ webkit/glue/chromium_bridge_impl.cc (working copy)
@@ -247,6 +247,18 @@
// MimeType -------------------------------------------------------------------
+bool ChromiumBridge::isSupportedImageMIMEType(const char* mime_type) {
+ return net::IsSupportedImageMimeType(mime_type);
+}
+
+bool ChromiumBridge::isSupportedJavascriptMIMEType(const char* mime_type) {
+ return net::IsSupportedJavascriptMimeType(mime_type);
+}
+
+bool ChromiumBridge::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),
« no previous file with comments | « no previous file | webkit/port/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698