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

Unified Diff: net/base/mime_util_unittest.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 | « net/base/mime_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util_unittest.cc
diff --git a/net/base/mime_util_unittest.cc b/net/base/mime_util_unittest.cc
index 5667f7e940a578bb21f158ace611e9a041bb5ce4..93bd2217c9ae6b774b858b56085d19133345553c 100644
--- a/net/base/mime_util_unittest.cc
+++ b/net/base/mime_util_unittest.cc
@@ -24,6 +24,9 @@ TEST(MimeUtilTest, ExtensionTest) {
{ FILE_PATH_LITERAL("css"), "text/css", true },
{ FILE_PATH_LITERAL("pjp"), "image/jpeg", true },
{ FILE_PATH_LITERAL("pjpeg"), "image/jpeg", true },
+#if defined(OS_ANDROID)
+ { FILE_PATH_LITERAL("m3u8"), "application/x-mpegurl", true },
+#endif
{ FILE_PATH_LITERAL("not an extension / for sure"), "", false },
};
« no previous file with comments | « net/base/mime_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698