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

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

Issue 1349843003: Display active mixed content as error instead of info in WebsiteSettings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: check icon id in unit tests also 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
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 05d04d09b4ce76474db18d8188f4be724d7247b5..2056f10f8c3b4bee56e2f94268d06d12d22e2032 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc
@@ -351,12 +351,10 @@ int WebsiteSettingsUI::GetConnectionIconID(
case WebsiteSettings::SITE_CONNECTION_STATUS_UNENCRYPTED:
resource_id = IDR_PAGEINFO_WARNING_MAJOR;
break;
+ case WebsiteSettings::SITE_CONNECTION_STATUS_MIXED_SCRIPT:
case WebsiteSettings::SITE_CONNECTION_STATUS_ENCRYPTED_ERROR:
resource_id = IDR_PAGEINFO_BAD;
break;
- default:
estark 2015/09/16 21:32:08 deleted this case because if it hadn't been here,
felt 2015/09/17 17:18:56 good call. I'm surprised we didn't see any reports
estark 2015/09/17 17:22:19 Huh, that is surprising. Then again, I don't think
- NOTREACHED();
- break;
}
return resource_id;
}

Powered by Google App Engine
This is Rietveld 408576698