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

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

Issue 13483010: Add UI notifications for admin-provided SSL certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 8 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/website_settings/website_settings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5fc391ec06cf2febaba5d644ea9e6ade4c2ced0c..4869521a194547854ce237c0747b0b000fa4378b 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc
@@ -91,6 +91,10 @@ string16 WebsiteSettingsUI::IdentityInfo::GetIdentityStatusText() const {
identity_status == WebsiteSettings::SITE_IDENTITY_STATUS_EV_CERT) {
return l10n_util::GetStringUTF16(IDS_WEBSITE_SETTINGS_IDENTITY_VERIFIED);
}
+ if (identity_status ==
+ WebsiteSettings::SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT) {
+ return l10n_util::GetStringUTF16(IDS_CERT_POLICY_PROVIDED_CERT_HEADER);
+ }
return l10n_util::GetStringUTF16(IDS_WEBSITE_SETTINGS_IDENTITY_NOT_VERIFIED);
}
@@ -249,6 +253,9 @@ const gfx::Image& WebsiteSettingsUI::GetIdentityIcon(
case WebsiteSettings::SITE_IDENTITY_STATUS_ERROR:
resource_id = IDR_PAGEINFO_BAD;
break;
+ case WebsiteSettings::SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT:
+ resource_id = IDR_CONTROLLED_SETTING_MANDATORY_LARGE;
+ break;
default:
NOTREACHED();
break;
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698