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

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

Issue 471763009: Update the Website Settings options page when a Content Setting is used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/content_settings/host_content_settings_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/content_settings_observer.h
diff --git a/chrome/browser/content_settings/content_settings_observer.h b/chrome/browser/content_settings/content_settings_observer.h
index 232b1400c4a5e0b864ea9b760fb915a07d2bf4f0..6895199803ad4eafd075942f8f5d8788682f02f7 100644
--- a/chrome/browser/content_settings/content_settings_observer.h
+++ b/chrome/browser/content_settings/content_settings_observer.h
@@ -20,6 +20,11 @@ class Observer {
ContentSettingsType content_type,
std::string resource_identifier) = 0;
+ virtual void OnContentSettingUsed(
+ const ContentSettingsPattern& primary_pattern,
+ const ContentSettingsPattern& secondary_pattern,
+ ContentSettingsType content_type) {}
+
protected:
virtual ~Observer() {}
};
« no previous file with comments | « no previous file | chrome/browser/content_settings/host_content_settings_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698