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

Unified Diff: net/base/mime_util.cc

Issue 471193002: Adding extension/mime mapping for HLS streams (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make the unit test to run on android only Created 6 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 | « no previous file | net/base/mime_util_unittest.cc » ('j') | 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 7dd51a2945d4556a6ce45f858546e9c60ba8af69..29264b8b076ee1b0b6b7827c4b830d4053cb573e 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -243,7 +243,8 @@ static const MimeInfo secondary_mappings[] = {
{ "application/vnd.mozilla.xul+xml", "xul" },
{ "application/x-shockwave-flash", "swf,swl" },
{ "application/pkcs7-mime", "p7m,p7c,p7z" },
- { "application/pkcs7-signature", "p7s" }
+ { "application/pkcs7-signature", "p7s" },
+ { "application/x-mpegurl", "m3u8" },
};
static const char* FindMimeType(const MimeInfo* mappings,
« no previous file with comments | « no previous file | net/base/mime_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698