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

Unified Diff: net/base/mime_util.cc

Issue 130853002: Add mime types for HLS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 51a970b3eec2a961b748e130c01695d7720b1d0d..2dee17dab1d2d41a89a94093acd84b3d7a913f27 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -281,6 +281,12 @@ static const char* const common_media_types[] = {
// Wav.
"audio/wav",
"audio/x-wav",
+
+#if defined(OS_ANDROID)
+ // HLS. Supported by Android ICS and above.
+ "application/vnd.apple.mpegurl",
+ "application/x-mpegurl",
+#endif
};
// List of proprietary types only supported by Google Chrome.
« 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