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

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

Issue 1358063002: Switch warning_explanations (yellow) to be unauthenticated_explanations (neutral). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index c978c53de388ce833245314d9562f2524d4fa7f0..ecf765ced4747a39c6690aa7a2b76c86314e3b32 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1354,7 +1354,7 @@ content::SecurityStyle Browser::GetSecurityStyle(
security_info.cert_id));
} else if (security_info.sha1_deprecation_status ==
SecurityStateModel::DEPRECATED_SHA1_WARNING) {
- security_style_explanations->warning_explanations.push_back(
+ security_style_explanations->unauthenticated_explanations.push_back(
content::SecurityStyleExplanation(
l10n_util::GetStringUTF8(IDS_WARNING_SHA1),
l10n_util::GetStringUTF8(IDS_WARNING_SHA1_DESCRIPTION),
@@ -1383,7 +1383,8 @@ content::SecurityStyle Browser::GetSecurityStyle(
security_info.cert_id);
if (net::IsCertStatusMinorError(security_info.cert_status))
Peter Kasting 2015/11/07 02:33:18 Nit: This now needs {}
- security_style_explanations->warning_explanations.push_back(explanation);
+ security_style_explanations->unauthenticated_explanations.push_back(
+ explanation);
else
security_style_explanations->broken_explanations.push_back(explanation);
} else {
« no previous file with comments | « no previous file | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698