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 b5a270473bff64cef11990be8c015b842606b57b..58007ed54dff87f564f2b610312ae3e26b9a8711 100644 |
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc |
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc |
@@ -399,6 +399,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)); |
} |
} |