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

Unified Diff: chrome/browser/ui/website_settings/website_settings_ui.cc

Issue 2497673002: Add WebsiteSettings strings for malware/UwS/phishing (Closed)
Patch Set: Created 4 years, 1 month 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/website_settings/website_settings_ui.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_ui.cc b/chrome/browser/ui/website_settings/website_settings_ui.cc
index e59202d22ecb800ec758eb8b87e99b2e28fec31e..4d8fd6d4ed7e6c0d165c726f3eb10df4989e2e33 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc
@@ -187,6 +187,17 @@ WebsiteSettingsUI::IdentityInfo::GetSecurityDescription() const {
return CreateSecurityDescription(IDS_WEBSITE_SETTINGS_SECURE_SUMMARY,
IDS_WEBSITE_SETTINGS_SECURE_DETAILS);
}
+ case WebsiteSettings::SITE_IDENTITY_STATUS_MALWARE:
+ return CreateSecurityDescription(IDS_WEBSITE_SETTINGS_MALWARE_SUMMARY,
+ IDS_WEBSITE_SETTINGS_MALWARE_DETAILS);
+ case WebsiteSettings::SITE_IDENTITY_STATUS_SOCIAL_ENGINEERING:
+ return CreateSecurityDescription(
+ IDS_WEBSITE_SETTINGS_SOCIAL_ENGINEERING_SUMMARY,
+ IDS_WEBSITE_SETTINGS_SOCIAL_ENGINEERING_DETAILS);
+ case WebsiteSettings::SITE_IDENTITY_STATUS_UNWANTED_SOFTWARE:
+ return CreateSecurityDescription(
+ IDS_WEBSITE_SETTINGS_UNWANTED_SOFTWARE_SUMMARY,
+ IDS_WEBSITE_SETTINGS_UNWANTED_SOFTWARE_DETAILS);
case WebsiteSettings::
SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MINOR:
case WebsiteSettings::

Powered by Google App Engine
This is Rietveld 408576698