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

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: Spaces. Created 8 years, 8 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/incognito_tab.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11b3f9216c5755ffec6f1da1980aff5b43a8b545..773b1a1f12bbf7440ab3f96d808387a801eecde0 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -266,7 +266,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.
@@ -282,8 +282,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(chrome::kChromeUIExtensionsURL)));
bool bookmark_bar_attached = profile_->GetPrefs()->GetBoolean(
prefs::kShowBookmarkBar);
« no previous file with comments | « chrome/browser/resources/incognito_tab.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698