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

Unified Diff: components/content_settings/core/browser/content_settings_observer.h

Issue 1803973002: Content Settings: Add RevocationObserver to measure when permissions are revoked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 9 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: components/content_settings/core/browser/content_settings_observer.h
diff --git a/components/content_settings/core/browser/content_settings_observer.h b/components/content_settings/core/browser/content_settings_observer.h
index 41868578942081c5020c86846319318f367aa47d..2a408c2d42ff857d0082c7bb0c0d89fc272fa938 100644
--- a/components/content_settings/core/browser/content_settings_observer.h
+++ b/components/content_settings/core/browser/content_settings_observer.h
@@ -20,6 +20,12 @@ class Observer {
ContentSettingsType content_type,
std::string resource_identifier) = 0;
+ virtual void OnContentSettingRevoked(
raymes 2016/03/21 01:52:56 nit: perhaps add a comment about when this is call
tsergeant 2016/03/21 03:38:38 Done.
+ const GURL& primary_url,
+ const GURL& secondary_url,
+ ContentSettingsType content_type,
+ std::string resource_identifier) {};
+
protected:
virtual ~Observer() {}
};

Powered by Google App Engine
This is Rietveld 408576698