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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.cc

Issue 105723002: Add the scheme chrome-distiller:// and hook up data source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implement as data source instead. Also rebased across thousands of CLs. Created 6 years, 11 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: 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 90f13403f0e92fffed313877a5cda1fea6c43e83..ba66b9c0f7445c47f37c5bac4fdedb456929c6a9 100644
--- a/chrome/browser/content_settings/host_content_settings_map.cc
+++ b/chrome/browser/content_settings/host_content_settings_map.cc
@@ -554,6 +554,7 @@ bool HostContentSettingsMap::ShouldAllowAllContent(
}
}
return primary_url.SchemeIs(chrome::kChromeDevToolsScheme) ||
+ primary_url.SchemeIs(chrome::kDomDistillerScheme) ||
nasko 2014/01/16 23:39:12 I'm not sure if we need to exempt the scheme from
nyquist 2014/01/22 00:47:58 Removed.
primary_url.SchemeIs(chrome::kChromeUIScheme);
}

Powered by Google App Engine
This is Rietveld 408576698