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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1381553003: Settings Rewrite: Add Sign-in (Chrome) section (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/settings/sync_page/sync_page.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/settings/md_settings_localized_strings_provider.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
index 9c59524ca9539e257778edf7b65f7d756615db4a..3fcc747a3abcce19a7804dc8e009338169b57c3d 100644
--- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
@@ -420,6 +420,12 @@ void AddSearchEnginesStrings(content::WebUIDataSource* html_source) {
IDS_SETTINGS_SEARCH_ENGINES_ADD_BUTTON_LABEL);
}
+#if !defined(OS_CHROMEOS)
+void AddSigninSettingsStrings(content::WebUIDataSource* html_source) {
+ html_source->AddLocalizedString("signinPageTitle", IDS_SETTINGS_SIGNIN);
+}
+#endif
+
void AddSiteSettingsStrings(content::WebUIDataSource* html_source) {
html_source->AddLocalizedString("siteSettingsPageTitle",
IDS_SETTINGS_SITE_SETTINGS);
@@ -552,6 +558,9 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
AddPrivacyStrings(html_source);
AddSearchEnginesStrings(html_source);
AddSearchStrings(html_source);
+#if !defined(OS_CHROMEOS)
+ AddSigninSettingsStrings(html_source);
+#endif
AddSiteSettingsStrings(html_source);
AddSyncStrings(html_source);
AddUsersStrings(html_source);
« no previous file with comments | « chrome/browser/resources/settings/sync_page/sync_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698