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

Unified Diff: net/base/mime_util.cc

Issue 210027: Move FTP LIST parsing code to the renderer process. (Closed)
Patch Set: fixes Created 11 years, 3 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 22e8eea96bb1674cc06e904859e928145bbcab11..0fbb8c3a066482d70955fb2c65e21e2845242dbe 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -226,6 +226,7 @@ static const char* const supported_non_image_types[] = {
// So, by including "text/css" into this list we choose Firefox
// behavior - css files will be displayed:
"text/css",
+ "text/vnd.chromium.ftp-dir",
"text/",
"image/svg+xml", // SVG is text-based XML, even though it has an image/ type
"application/xml",

Powered by Google App Engine
This is Rietveld 408576698