Index: chrome/browser/content_settings/host_content_settings_map.cc |
diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc |
index 13922947547ace369e3cefce5fdc343696214c6e..39be5d4c43fbc864e6638b84743ec8be7603e6d3 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map.cc |
@@ -497,6 +497,11 @@ bool HostContentSettingsMap::ShouldAllowAllContent( |
content_type == CONTENT_SETTINGS_TYPE_GEOLOCATION) { |
return false; |
} |
+ if (secondary_url.SchemeIs(chrome::kChromeUIScheme) && |
+ content_type == CONTENT_SETTINGS_TYPE_COOKIES && |
+ primary_url.SchemeIsSecure()) { |
+ return true; |
+ } |
if (primary_url.SchemeIs(chrome::kExtensionScheme)) { |
return content_type != CONTENT_SETTINGS_TYPE_PLUGINS && |
(content_type != CONTENT_SETTINGS_TYPE_COOKIES || |