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

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: Address CR comments from patch set #1. 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 | « media/media.gyp ('k') | 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 29264b8b076ee1b0b6b7827c4b830d4053cb573e..5e776199abac05d0a5c22bc62c4ef8d7f7471709 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)
+ // MPEG-2 TS.
+ "video/mp2t",
+#endif
};
// Note:
« no previous file with comments | « 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