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

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

Issue 2731403005: MD Settings: Privacy: Show dialog when changing do-not-track (Closed)
Patch Set: . Created 3 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/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 52ffa8d5805b31b4bbede6246087debc2b23770f..6d919fa57bd88acfdbd3bca7f560e80a45961a46 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
@@ -1423,33 +1423,35 @@ void AddPrintingStrings(content::WebUIDataSource* html_source) {
void AddPrivacyStrings(content::WebUIDataSource* html_source,
Profile* profile) {
LocalizedString localized_strings[] = {
- {"privacyPageTitle", IDS_SETTINGS_PRIVACY},
- {"linkDoctorPref", IDS_SETTINGS_LINKDOCTOR_PREF},
- {"searchSuggestPref", IDS_SETTINGS_SUGGEST_PREF},
- {"networkPredictionEnabled",
- IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESCRIPTION},
- {"safeBrowsingEnableProtection",
- IDS_SETTINGS_SAFEBROWSING_ENABLEPROTECTION},
- {"spellingPref", IDS_SETTINGS_SPELLING_PREF},
- {"spellingDescription", IDS_SETTINGS_SPELLING_DESCRIPTION},
+ {"privacyPageTitle", IDS_SETTINGS_PRIVACY},
+ {"linkDoctorPref", IDS_SETTINGS_LINKDOCTOR_PREF},
+ {"searchSuggestPref", IDS_SETTINGS_SUGGEST_PREF},
+ {"networkPredictionEnabled",
+ IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESCRIPTION},
+ {"safeBrowsingEnableProtection",
+ IDS_SETTINGS_SAFEBROWSING_ENABLEPROTECTION},
+ {"spellingPref", IDS_SETTINGS_SPELLING_PREF},
+ {"spellingDescription", IDS_SETTINGS_SPELLING_DESCRIPTION},
#if defined(OS_CHROMEOS)
- {"enableLogging", IDS_SETTINGS_ENABLE_LOGGING_DIAGNOSTIC_AND_USAGE_DATA},
+ {"enableLogging", IDS_SETTINGS_ENABLE_LOGGING_DIAGNOSTIC_AND_USAGE_DATA},
#else
- {"enableLogging", IDS_SETTINGS_ENABLE_LOGGING},
+ {"enableLogging", IDS_SETTINGS_ENABLE_LOGGING},
#endif
- {"doNotTrack", IDS_SETTINGS_ENABLE_DO_NOT_TRACK},
- {"enableContentProtectionAttestation",
- IDS_SETTINGS_ENABLE_CONTENT_PROTECTION_ATTESTATION},
- {"wakeOnWifi", IDS_SETTINGS_WAKE_ON_WIFI_DESCRIPTION},
- {"manageCertificates", IDS_SETTINGS_MANAGE_CERTIFICATES},
- {"manageCertificatesDescription",
- IDS_SETTINGS_MANAGE_CERTIFICATES_DESCRIPTION},
- {"contentSettings", IDS_SETTINGS_CONTENT_SETTINGS},
- {"siteSettings", IDS_SETTINGS_SITE_SETTINGS},
- {"siteSettingsDescription", IDS_SETTINGS_SITE_SETTINGS_DESCRIPTION},
- {"clearBrowsingData", IDS_SETTINGS_CLEAR_DATA},
- {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION},
- {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT},
+ {"doNotTrack", IDS_SETTINGS_ENABLE_DO_NOT_TRACK},
+ {"doNotTrackDialogTitle", IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TITLE},
+ {"doNotTrackDialogMessage", IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TEXT},
+ {"enableContentProtectionAttestation",
+ IDS_SETTINGS_ENABLE_CONTENT_PROTECTION_ATTESTATION},
+ {"wakeOnWifi", IDS_SETTINGS_WAKE_ON_WIFI_DESCRIPTION},
+ {"manageCertificates", IDS_SETTINGS_MANAGE_CERTIFICATES},
+ {"manageCertificatesDescription",
+ IDS_SETTINGS_MANAGE_CERTIFICATES_DESCRIPTION},
+ {"contentSettings", IDS_SETTINGS_CONTENT_SETTINGS},
+ {"siteSettings", IDS_SETTINGS_SITE_SETTINGS},
+ {"siteSettingsDescription", IDS_SETTINGS_SITE_SETTINGS_DESCRIPTION},
+ {"clearBrowsingData", IDS_SETTINGS_CLEAR_DATA},
+ {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION},
+ {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT},
};
AddLocalizedStringsBulk(html_source, localized_strings,
arraysize(localized_strings));

Powered by Google App Engine
This is Rietveld 408576698