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

Unified Diff: components/security_state/content/content_utils.cc

Issue 2616553002: Remove obsolete SHA-1 UX elements (Closed)
Patch Set: Fixup WebsiteSettingsTest Created 3 years, 12 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: components/security_state/content/content_utils.cc
diff --git a/components/security_state/content/content_utils.cc b/components/security_state/content/content_utils.cc
index ec7b804210ea536175b5e8394df1a2ab80a619a9..5eb8f46d3b7affb8bc4d945b088be313285f808a 100644
--- a/components/security_state/content/content_utils.cc
+++ b/components/security_state/content/content_utils.cc
@@ -231,18 +231,11 @@ blink::WebSecurityStyle GetSecurityStyle(
}
if (security_info.sha1_deprecation_status ==
- security_state::DEPRECATED_SHA1_MAJOR) {
+ security_state::DEPRECATED_SHA1) {
security_style_explanations->broken_explanations.push_back(
estark 2017/01/05 16:18:42 I might be getting myself confused, but I think th
content::SecurityStyleExplanation(
- l10n_util::GetStringUTF8(IDS_MAJOR_SHA1),
- l10n_util::GetStringUTF8(IDS_MAJOR_SHA1_DESCRIPTION),
- !!security_info.certificate));
- } else if (security_info.sha1_deprecation_status ==
- security_state::DEPRECATED_SHA1_MINOR) {
- security_style_explanations->unauthenticated_explanations.push_back(
- content::SecurityStyleExplanation(
- l10n_util::GetStringUTF8(IDS_MINOR_SHA1),
- l10n_util::GetStringUTF8(IDS_MINOR_SHA1_DESCRIPTION),
+ l10n_util::GetStringUTF8(IDS_SHA1),
+ l10n_util::GetStringUTF8(IDS_SHA1_DESCRIPTION),
!!security_info.certificate));
}

Powered by Google App Engine
This is Rietveld 408576698