summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_io_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_io_data.h')
-rw-r--r--chrome/browser/profiles/profile_io_data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index a46d142..5625c96 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -75,6 +75,13 @@ class ProfileIOData : public base::RefCountedThreadSafe<ProfileIOData> {
const std::string& app_id) const;
const content::ResourceContext& GetResourceContext() const;
+ // These getters are useful when the Chrome layer is called from the content
+ // layer with a content::ResourceContext, and they want access to Chrome data
+ // for that profile.
+ HostContentSettingsMap* host_content_settings_map() const {
+ return host_content_settings_map_;
+ }
+
protected:
friend class base::RefCountedThreadSafe<ProfileIOData>;