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

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

Issue 7831075: Delegating the "are images allowed" decision to renderer. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Transmit image settings to the renderer. Draft. Created 9 years, 3 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.h
diff --git a/chrome/browser/content_settings/host_content_settings_map.h b/chrome/browser/content_settings/host_content_settings_map.h
index 3a9724b6e47f6af6bf2acb7875b0d80834bc11e8..ee6b45f9bacd40f0aca2b68a215bda9b499039ff 100644
--- a/chrome/browser/content_settings/host_content_settings_map.h
+++ b/chrome/browser/content_settings/host_content_settings_map.h
@@ -124,6 +124,13 @@ class HostContentSettingsMap
const std::string& resource_identifier,
SettingsForOneType* settings) const;
+ // For a given content type, returns all patterns with a non-default setting,
+ // mapped to their actual setting, in the order in which they would be checked
+ // by GetContentSetting.
+ void GetConcatenatedSettingsForOneType(ContentSettingsType content_type,
+ const std::string& resource_identifier,
+ ContentSettingRules* rules) const;
+
// Sets the default setting for a particular content type. This method must
// not be invoked on an incognito map.
//

Powered by Google App Engine
This is Rietveld 408576698