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

Unified Diff: net/base/mime_util.cc

Issue 478043005: Add the mp2t mimetype to the list of supported mime types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: net/base/mime_util.cc
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 29264b8b076ee1b0b6b7827c4b830d4053cb573e..6ad9ae49fc3137c5c12e20ac9a5d661cc5261713 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -379,6 +379,11 @@ static const char* const proprietary_media_types[] = {
"audio/mp3",
"audio/x-mp3",
"audio/mpeg",
+
+#if defined(ENABLE_MPEG2TS_STREAM_PARSER)
+ // Mpeg2 TS.
szym 2014/08/24 08:40:34 nit: MPEG-2 TS.
damienv1 2014/08/26 14:43:20 Done.
+ "video/mp2t",
acolwell GONE FROM CHROMIUM 2014/08/22 19:12:30 nit: Should we have audio/mp2t as well? I'm not su
damienv1 2014/08/26 14:43:20 I prefer not to include it until there is a releva
+#endif
};
// Note:
« media/media.gyp ('K') | « media/media.gyp ('k') | net/base/mime_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698