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

Unified Diff: components/content_settings/core/browser/host_content_settings_map.cc

Issue 1128363006: Switch Fizzy //components to use SchemeIsCryptographic() instead of SchemeIsSecure(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/content_settings/core/browser/host_content_settings_map.cc
diff --git a/components/content_settings/core/browser/host_content_settings_map.cc b/components/content_settings/core/browser/host_content_settings_map.cc
index 73dd8092522d551c2e54174778fde2ba5aec46ad..0294e3ab7f96f8e923675d73c7ff93641301a1fd 100644
--- a/components/content_settings/core/browser/host_content_settings_map.cc
+++ b/components/content_settings/core/browser/host_content_settings_map.cc
@@ -659,7 +659,7 @@ bool HostContentSettingsMap::ShouldAllowAllContent(
#endif
if (secondary_url.SchemeIs(kChromeUIScheme) &&
content_type == CONTENT_SETTINGS_TYPE_COOKIES &&
- primary_url.SchemeIsSecure()) {
+ primary_url.SchemeIsCryptographic()) {
return true;
}
#if defined(ENABLE_EXTENSIONS)

Powered by Google App Engine
This is Rietveld 408576698