summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 21:54:38 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 21:54:38 +0000
commit7715e84c3a216647987f52c4b60db9ffb80903d7 (patch)
tree416021e0ca92ae24f1be54c3e28b4f172763859c /net/base
parentc7d5e895236c3265b2fba48ad1be17380e75ad2b (diff)
downloadchromium_src-7715e84c3a216647987f52c4b60db9ffb80903d7.zip
chromium_src-7715e84c3a216647987f52c4b60db9ffb80903d7.tar.gz
chromium_src-7715e84c3a216647987f52c4b60db9ffb80903d7.tar.bz2
Support for viewing text/cache-manifest resources in a browser window instead of downloading them.
BUG=38463 TEST=navigate to a resource with that mime type, see it in the browser frame Review URL: http://codereview.chromium.org/1120002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/mime_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index fc57b58..f702fbe 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -218,6 +218,7 @@ static const char* const supported_media_codecs[] = {
// Note: does not include javascript types list (see supported_javascript_types)
static const char* const supported_non_image_types[] = {
+ "text/cache-manifest",
"text/html",
"text/xml",
"text/xsl",