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

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

Issue 2881513003: DevTools: Convert Security Panel to Sentence case (Closed)
Patch Set: Fix unit test 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
« no previous file with comments | « no previous file | components/security_state/content/content_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3b1b4133917d536701ccd4ad7469c42c20f5d45a..27986e01d39996d6c5319cc1ff133c065f90d62f 100644
--- a/components/security_state/content/content_utils.cc
+++ b/components/security_state/content/content_utils.cc
@@ -306,8 +306,9 @@ blink::WebSecurityStyle GetSecurityStyle(
if (security_info.pkp_bypassed) {
security_style_explanations->info_explanations.push_back(
content::SecurityStyleExplanation(
- "Public-Key Pinning Bypassed",
- "Public-key pinning was bypassed by a local root certificate."));
+ l10n_util::GetStringUTF8(IDS_PRIVATE_KEY_PINNING_BYPASSED),
+ l10n_util::GetStringUTF8(
+ IDS_PRIVATE_KEY_PINNING_BYPASSED_DESCRIPTION)));
}
return security_style;
« no previous file with comments | « no previous file | components/security_state/content/content_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698