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

Unified Diff: components/toolbar/toolbar_model_impl.cc

Issue 2422303002: Show HTTP-Bad security chip UI on Mac and Views (Closed)
Patch Set: Fix typo Created 4 years, 2 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 | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar/toolbar_model_impl.cc
diff --git a/components/toolbar/toolbar_model_impl.cc b/components/toolbar/toolbar_model_impl.cc
index 9329852843ea88254f9dc0016c29db741739f3d2..555f5f2b20012c9ffc4cea9d355c3e28789a8bd6 100644
--- a/components/toolbar/toolbar_model_impl.cc
+++ b/components/toolbar/toolbar_model_impl.cc
@@ -133,6 +133,8 @@ base::string16 ToolbarModelImpl::GetEVCertName() const {
base::string16 ToolbarModelImpl::GetSecureVerboseText() const {
switch (GetSecurityLevel(false)) {
+ case SecurityStateModel::HTTP_SHOW_WARNING:
+ return l10n_util::GetStringUTF16(IDS_NOT_SECURE_VERBOSE_STATE);
case SecurityStateModel::SECURE:
return l10n_util::GetStringUTF16(IDS_SECURE_VERBOSE_STATE);
case SecurityStateModel::DANGEROUS:
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698