diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-01 02:56:44 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-01 02:56:44 +0000 |
commit | 3bc67d82dd6310c46b0c1e9c4d9c2af50481f4e7 (patch) | |
tree | 9ec0689f7c804d2ed9725e9145b45a9f5ae70d79 /webkit/glue/simple_webmimeregistry_impl.cc | |
parent | 874fe541ce554db2f5ebc0a2b857cd3d97945739 (diff) | |
download | chromium_src-3bc67d82dd6310c46b0c1e9c4d9c2af50481f4e7.zip chromium_src-3bc67d82dd6310c46b0c1e9c4d9c2af50481f4e7.tar.gz chromium_src-3bc67d82dd6310c46b0c1e9c4d9c2af50481f4e7.tar.bz2 |
Revert "Eliminate mime_util dependency from WebFrameLoaderClient."
This reverts commit f6429666a47eac17a18409d1743841bc44ed9a7a.
Review URL: http://codereview.chromium.org/351001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/simple_webmimeregistry_impl.cc')
-rw-r--r-- | webkit/glue/simple_webmimeregistry_impl.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/webkit/glue/simple_webmimeregistry_impl.cc b/webkit/glue/simple_webmimeregistry_impl.cc index 2857002..a2b792d 100644 --- a/webkit/glue/simple_webmimeregistry_impl.cc +++ b/webkit/glue/simple_webmimeregistry_impl.cc @@ -28,13 +28,6 @@ std::string AsASCII(const WebString& string) { namespace webkit_glue { -WebMimeRegistry::SupportsType SimpleWebMimeRegistryImpl::supportsMIMEType( - const WebString& mime_type) { - if (!net::IsSupportedMimeType(AsASCII(mime_type).c_str())) - return WebMimeRegistry::IsNotSupported; - return WebMimeRegistry::IsSupported; -} - WebMimeRegistry::SupportsType SimpleWebMimeRegistryImpl::supportsImageMIMEType( const WebString& mime_type) { if (!net::IsSupportedImageMimeType(AsASCII(mime_type).c_str())) |