summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_specific_content_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_specific_content_settings.h')
-rw-r--r--chrome/browser/tab_contents/tab_specific_content_settings.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/chrome/browser/tab_contents/tab_specific_content_settings.h b/chrome/browser/tab_contents/tab_specific_content_settings.h
index 5613335..157976b 100644
--- a/chrome/browser/tab_contents/tab_specific_content_settings.h
+++ b/chrome/browser/tab_contents/tab_specific_content_settings.h
@@ -28,12 +28,9 @@ class TabSpecificContentSettings
public:
class Delegate {
public:
- // Invoked when content settings for resources in the tab contents
- // associated with this TabSpecificContentSettings object were accessed.
- // |content_was_blocked| is true, if a content settings type was blocked
- // (as opposed to just accessed). Currently, this parameter is checked in
- // unit tests only.
- virtual void OnContentSettingsAccessed(bool content_was_blocked) = 0;
+ // Invoked when content settings managed by the TabSpecificContentSettings
+ // object change.
+ virtual void OnContentSettingsChange() = 0;
virtual ~Delegate() {}
};
@@ -56,10 +53,6 @@ class TabSpecificContentSettings
// page.
bool IsContentBlocked(ContentSettingsType content_type) const;
- // Returns whether a particular kind of content has been accessed. Currently
- // only tracks cookies.
- bool IsContentAccessed(ContentSettingsType content_type) const;
-
// Returns the GeolocationSettingsState that controls the
// geolocation API usage on this page.
const GeolocationSettingsState& geolocation_settings_state() const {
@@ -115,8 +108,6 @@ class TabSpecificContentSettings
CookiesTreeModel* GetCookiesTreeModel();
- bool empty() const;
-
private:
DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer);