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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 9455078: Simplify the incognito NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing, adding Android. Created 8 years, 9 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/ui/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index bce6e3365ddabb1621bfe159fe5ae9806ea0b29d..59674015a37bd1cffeaac9f5c800931a37db22b4 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -238,7 +238,7 @@ void NTPResourceCache::CreateNewTabIncognitoHTML() {
DictionaryValue localized_strings;
localized_strings.SetString("title",
l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE));
- int new_tab_message_ids = IDS_NEW_TAB_OTR_MESSAGE;
+ int new_tab_message_ids = IDS_NEW_TAB_INCOGNITO_MESSAGE;
int new_tab_html_idr = IDR_INCOGNITO_TAB_HTML;
const char* new_tab_link = kLearnMoreIncognitoUrl;
// TODO(altimofeev): consider implementation without 'if def' usage.
@@ -254,8 +254,7 @@ void NTPResourceCache::CreateNewTabIncognitoHTML() {
GetUrlWithLang(GURL(new_tab_link))));
localized_strings.SetString("extensionsmessage",
l10n_util::GetStringFUTF16(
- IDS_NEW_TAB_OTR_EXTENSIONS_MESSAGE,
- l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
+ IDS_NEW_TAB_INCOGNITO_EXTENSIONS_MESSAGE,
ASCIIToUTF16(std::string(chrome::kChromeUISettingsURL) +
chrome::kExtensionsSubPage)));
bool bookmark_bar_attached = profile_->GetPrefs()->GetBoolean(

Powered by Google App Engine
This is Rietveld 408576698