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

Unified Diff: net/base/mime_util.cc

Issue 1061833002: Add epub mime type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | 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 0b42b85920239bded4ff775fa81c2544b8889d36..f1d44870e47fbef8e205f4debfec8ecf09d629a8 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -226,6 +226,7 @@ static const MimeInfo secondary_mappings[] = {
{ "application/pkcs7-mime", "p7m,p7c,p7z" },
{ "application/pkcs7-signature", "p7s" },
{ "application/x-mpegurl", "m3u8" },
+ { "application/epub+zip", "epub" },
eroman 2015/04/06 19:10:18 Is there any details that you can provide on this
yawano 2015/04/07 02:00:40 application/epub+zip appears in IANA Media Types.
};
static const char* FindMimeType(const MimeInfo* mappings,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698