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

Unified Diff: net/base/mime_util.cc

Issue 4232003: Add webp mime type for omnibpx (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util.cc
===================================================================
--- net/base/mime_util.cc (revision 64666)
+++ net/base/mime_util.cc (working copy)
@@ -82,6 +82,7 @@
{ "text/xml", "xml" },
{ "image/gif", "gif" },
{ "image/jpeg", "jpeg,jpg" },
+ { "image/webp", "webp" },
{ "image/png", "png" },
{ "video/mp4", "mp4,m4v" },
{ "audio/x-m4a", "m4a" },
@@ -192,6 +193,7 @@
"image/jpeg",
"image/pjpeg",
"image/jpg",
+ "image/webp",
"image/png",
"image/gif",
"image/bmp",
@@ -547,6 +549,7 @@
"image/gif",
"image/ief",
"image/jpeg",
+ "image/webp",
"image/pict",
"image/pipeg",
"image/png",
@@ -660,7 +663,6 @@
target->at(old_target_size + i) = *iter;
}
}
-
}
void GetImageExtensions(std::vector<FilePath::StringType>* extensions) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698