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

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

Issue 2677513002: [Local NTP] Cleanup: Remove a bunch of dead code (Closed)
Patch Set: Created 3 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
Index: chrome/browser/search/local_ntp_source.cc
diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
index 96bd7c63e8c1b9da4488b4becf152ef2e8afc2fc..9377dc5d6ebdf5ac89522645e49ed24d7034dee6 100644
--- a/chrome/browser/search/local_ntp_source.cc
+++ b/chrome/browser/search/local_ntp_source.cc
@@ -97,6 +97,8 @@ void AddString(base::DictionaryValue* dictionary,
// Adds a localized string for the Google searchbox placeholder text.
void AddGoogleSearchboxPlaceholderString(base::DictionaryValue* dictionary) {
+ // TODO(treib): Remove the param from the string; it's only ever used with
+ // "Google".
base::string16 placeholder = l10n_util::GetStringFUTF16(
IDS_SEARCH_BOX_EMPTY_HINT,
base::ASCIIToUTF16("Google"));

Powered by Google App Engine
This is Rietveld 408576698