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

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

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: change element.$.someId to element.$$(#someId) Created 3 years, 7 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/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 142657eaac9fd31b9ec0b38cc1f5e4753fe30e9b..ea81faacf23901c7e2491102f098f6c74b41f4dc 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
@@ -526,8 +526,10 @@ void AddClearBrowsingDataStrings(content::WebUIDataSource* html_source) {
{"clearBrowsingDataLearnMoreUrl", IDS_SETTINGS_CLEAR_DATA_LEARN_MORE_URL},
{"historyDeletionDialogTitle",
IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_TITLE},
- {"historyDeletionDialogOK",
- IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_OK},
+ {"historyDeletionDialogOK", IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_OK},
+ {"importantSitesSubtitle", IDS_SETTINGS_IMPORTANT_SITES_SUBTITLE},
+ {"importantSitesConfirm", IDS_SETTINGS_IMPORTANT_SITES_CONFIRM},
+ {"notificationWarning", IDS_SETTINGS_NOTIFICATION_WARNING},
};
html_source->AddString(
@@ -1516,6 +1518,10 @@ void AddPrivacyStrings(content::WebUIDataSource* html_source,
AddLocalizedStringsBulk(html_source, localized_strings,
arraysize(localized_strings));
+ html_source->AddBoolean(
+ "importantSitesInCbd",
+ base::FeatureList::IsEnabled(features::kImportantSitesInCbd));
+
html_source->AddLocalizedString(
"safeBrowsingEnableExtendedReporting",
safe_browsing::ChooseOptInTextResource(
« no previous file with comments | « chrome/browser/ui/webui/metrics_handler.cc ('k') | chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698