summaryrefslogtreecommitdiffstats
path: root/webkit/glue/simple_webmimeregistry_impl.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-21 01:08:27 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-21 01:08:27 +0000
commitc84cda4d2fa1caccd94623e2d254a8566a916f9c (patch)
tree85bad096af417e312ef26d5e4037d14cd0874f32 /webkit/glue/simple_webmimeregistry_impl.h
parentf7359a1a9592d2f6230e08b255f528707656373f (diff)
downloadchromium_src-c84cda4d2fa1caccd94623e2d254a8566a916f9c.zip
chromium_src-c84cda4d2fa1caccd94623e2d254a8566a916f9c.tar.gz
chromium_src-c84cda4d2fa1caccd94623e2d254a8566a916f9c.tar.bz2
Implement WebMimeRegistry::wellKnownMimeTypeForExtension in terms of the newly added net::GetWellKnownMimeTypeFromExtension function.
BUG=86108 TEST=none Review URL: http://codereview.chromium.org/7205040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/simple_webmimeregistry_impl.h')
-rw-r--r--webkit/glue/simple_webmimeregistry_impl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/webkit/glue/simple_webmimeregistry_impl.h b/webkit/glue/simple_webmimeregistry_impl.h
index 9796894..dddf5fb 100644
--- a/webkit/glue/simple_webmimeregistry_impl.h
+++ b/webkit/glue/simple_webmimeregistry_impl.h
@@ -1,6 +1,6 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
-// source code is governed by a BSD-style license that can be found in the
-// LICENSE file.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#ifndef WEBMIMEREGISTRY_IMPL_H_
#define WEBMIMEREGISTRY_IMPL_H_
@@ -26,6 +26,8 @@ class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {
virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
const WebKit::WebString&);
virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
+ virtual WebKit::WebString wellKnownMimeTypeForExtension(
+ const WebKit::WebString&);
virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
virtual WebKit::WebString preferredExtensionForMIMEType(
const WebKit::WebString&);