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

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

Issue 846833002: Make Roboto accessible from chrome://resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chrome/browser/resources/roboto/roboto.woff2 ('k') | ui/webui/resources/roboto/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/contextual_search_promo_source_android.cc
diff --git a/chrome/browser/search/contextual_search_promo_source_android.cc b/chrome/browser/search/contextual_search_promo_source_android.cc
index 5715583e0ee8dc1b6b529d961962373a44431d75..ea6f8c71740dae07ab33090bc3f08e3524f476f6 100644
--- a/chrome/browser/search/contextual_search_promo_source_android.cc
+++ b/chrome/browser/search/contextual_search_promo_source_android.cc
@@ -26,8 +26,6 @@ const char kPromoConfigPath[] = "/config.js";
const char kPromoHTMLPath[] = "/promo.html";
const char kPromoCSSPath[] = "/promo.css";
const char kPromoJSPath[] = "/promo.js";
-const char kRobotoWoffPath[] = "/roboto.woff";
-const char kRobotoWoff2Path[] = "/roboto.woff2";
// Field trial related constants.
const char kContextualSearchFieldTrialName[] = "ContextualSearch";
@@ -80,10 +78,6 @@ void ContextualSearchPromoSourceAndroid::StartDataRequest(
SendResource(IDR_CONTEXTUAL_SEARCH_PROMO_JS, callback);
} else if (path == kPromoConfigPath) {
SendConfigResource(callback);
- } else if (path == kRobotoWoffPath) {
- SendResource(IDR_ROBOTO_WOFF, callback);
- } else if (path == kRobotoWoff2Path) {
- SendResource(IDR_ROBOTO_WOFF2, callback);
} else {
callback.Run(NULL);
}
« no previous file with comments | « chrome/browser/resources/roboto/roboto.woff2 ('k') | ui/webui/resources/roboto/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698