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

Unified Diff: chrome/browser/search/iframe_source.cc

Issue 473583002: [Local NTP] Implementing Material Design styling (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: chrome/browser/search/iframe_source.cc
diff --git a/chrome/browser/search/iframe_source.cc b/chrome/browser/search/iframe_source.cc
index e3f0b4e9c3d5badcb066c776b83b3ae4b3a63b60..f715578451810c1f58c17bbc5a40f53f172185fd 100644
--- a/chrome/browser/search/iframe_source.cc
+++ b/chrome/browser/search/iframe_source.cc
@@ -33,6 +33,10 @@ std::string IframeSource::GetMimeType(
return "text/css";
if (EndsWith(path, ".html", false))
return "text/html";
+ if (EndsWith(path, ".woff", false))
+ return "font/woff";
+ if (EndsWith(path, ".woff2", false))
+ return "font/woff2";
return "";
}

Powered by Google App Engine
This is Rietveld 408576698