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

Unified Diff: net/base/mime_util.cc

Issue 174380: Try one more time to lock down content sniffing for (Closed)
Patch Set: Created 11 years, 4 months 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 | « chrome/browser/download/download_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util.cc
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 795117774843e6bdbd5f39d641d5f093d2fbcc28..22e8eea96bb1674cc06e904859e928145bbcab11 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -77,7 +77,8 @@ static const MimeInfo primary_mappings[] = {
{ "audio/mp3", "mp3" },
{ "video/ogg", "ogv,ogm" },
{ "audio/ogg", "ogg,oga" },
- { "application/xhtml+xml", "xhtml,xht" }
+ { "application/xhtml+xml", "xhtml,xht" },
+ { "application/x-chrome-extension", "crx" }
};
static const MimeInfo secondary_mappings[] = {
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698