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

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: Changed to use onReceived for javascript Created 7 years 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 9367ba520703fe4191661e5e55ad846f637534b7..2ba650445b74553deacb0a02aea4801bd142fdd2 100644
--- a/chrome/browser/content_settings/host_content_settings_map.cc
+++ b/chrome/browser/content_settings/host_content_settings_map.cc
@@ -555,7 +555,8 @@ bool HostContentSettingsMap::ShouldAllowAllContent(
}
return primary_url.SchemeIs(chrome::kChromeDevToolsScheme) ||
primary_url.SchemeIs(chrome::kChromeInternalScheme) ||
- primary_url.SchemeIs(chrome::kChromeUIScheme);
+ primary_url.SchemeIs(chrome::kChromeUIScheme) ||
+ primary_url.SchemeIs(chrome::kDomDistillerScheme);
}
base::Value* HostContentSettingsMap::GetWebsiteSetting(

Powered by Google App Engine
This is Rietveld 408576698