Index: chrome/browser/ui/webui/options/content_settings_handler.cc |
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc |
index 099240003b83192f058523aff610f948254cd0f6..d30d10837200fcca0555a9c7c98671d6f261663a 100644 |
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc |
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc |
@@ -389,6 +389,11 @@ void ContentSettingsHandler::UpdateHandlersEnabledRadios() { |
void ContentSettingsHandler::UpdateAllExceptionsViewsFromModel() { |
for (int type = CONTENT_SETTINGS_TYPE_DEFAULT + 1; |
type < CONTENT_SETTINGS_NUM_TYPES; ++type) { |
+ // The content settings type CONTENT_SETTINGS_TYPE_AUTO_SUBMIT_CERTIFICATE |
+ // is supposed to be set by policy only. Hence there is no user facing UI |
+ // for this content type and we skip it here. |
+ if (type == CONTENT_SETTINGS_TYPE_AUTO_SUBMIT_CERTIFICATE) |
+ continue; |
UpdateExceptionsViewFromModel(static_cast<ContentSettingsType>(type)); |
} |
} |