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

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

Issue 389663004: [Resources] Fix promo.html to navigate to fragments instead of a real link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/contextual_search/promo.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/contextual_search_promo_source.cc
diff --git a/chrome/browser/search/contextual_search_promo_source.cc b/chrome/browser/search/contextual_search_promo_source.cc
index 26bbfe0a8fa661c605cfcc5cbd4537867e7fa699..0b9adf2d78285429453a5c3658472d034d0de67c 100644
--- a/chrome/browser/search/contextual_search_promo_source.cc
+++ b/chrome/browser/search/contextual_search_promo_source.cc
@@ -17,8 +17,6 @@ namespace {
const char kPromoHTMLPath[] = "/promo.html";
const char kPromoCSSPath[] = "/promo.css";
const char kPromoJSPath[] = "/promo.js";
-const char kPromoOptInHTMLPath[] = "/optin.html";
-const char kPromoOptOutHTMLPath[] = "/optout.html";
} // namespace
@@ -39,12 +37,6 @@ void ContextualSearchPromoSource::StartDataRequest(
SendResource(IDR_CONTEXTUAL_SEARCH_PROMO_CSS, callback);
} else if (path == kPromoJSPath) {
SendResource(IDR_CONTEXTUAL_SEARCH_PROMO_JS, callback);
- } else if (path == kPromoOptInHTMLPath) {
- std::string empty;
- callback.Run(base::RefCountedString::TakeString(&empty));
- } else if (path == kPromoOptOutHTMLPath) {
- std::string empty;
- callback.Run(base::RefCountedString::TakeString(&empty));
} else {
callback.Run(NULL);
}
« no previous file with comments | « chrome/browser/resources/contextual_search/promo.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698