| Index: chrome/browser/search/most_visited_iframe_source.cc
|
| diff --git a/chrome/browser/search/most_visited_iframe_source.cc b/chrome/browser/search/most_visited_iframe_source.cc
|
| index c76c3b6af5a49fa8c5125dab0e890949f529a12b..43dce571f0ca67601d0decb0f1158d3091c053ca 100644
|
| --- a/chrome/browser/search/most_visited_iframe_source.cc
|
| +++ b/chrome/browser/search/most_visited_iframe_source.cc
|
| @@ -24,6 +24,9 @@ const char kThumbnailJSPath[] = "/thumbnail.js";
|
| const char kUtilJSPath[] = "/util.js";
|
| const char kCommonCSSPath[] = "/common.css";
|
|
|
| +const char kRobotoWoffPath[] = "/roboto.woff";
|
| +const char kRobotoWoff2Path[] = "/roboto.woff2";
|
| +
|
| } // namespace
|
|
|
| MostVisitedIframeSource::MostVisitedIframeSource() {
|
| @@ -65,6 +68,10 @@ void MostVisitedIframeSource::StartDataRequest(
|
| render_frame_id, callback);
|
| } else if (path == kCommonCSSPath) {
|
| SendResource(IDR_MOST_VISITED_IFRAME_CSS, callback);
|
| + } else if (path == kRobotoWoffPath) {
|
| + SendResource(IDR_ROBOTO_WOFF, callback);
|
| + } else if (path == kRobotoWoff2Path) {
|
| + SendResource(IDR_ROBOTO_WOFF2, callback);
|
| } else {
|
| callback.Run(NULL);
|
| }
|
| @@ -74,5 +81,6 @@ bool MostVisitedIframeSource::ServesPath(const std::string& path) const {
|
| return path == kTitleHTMLPath || path == kTitleCSSPath ||
|
| path == kTitleJSPath || path == kThumbnailHTMLPath ||
|
| path == kThumbnailCSSPath || path == kThumbnailJSPath ||
|
| - path == kUtilJSPath || path == kCommonCSSPath;
|
| + path == kUtilJSPath || path == kCommonCSSPath ||
|
| + path == kRobotoWoffPath || path == kRobotoWoff2Path;
|
| }
|
|
|