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

Unified Diff: chrome/browser/content_settings/content_settings_mock_observer.cc

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: chrome/browser/content_settings/content_settings_mock_observer.cc
diff --git a/chrome/browser/content_settings/content_settings_mock_observer.cc b/chrome/browser/content_settings/content_settings_mock_observer.cc
index 8d898c470f6d6775da1b572db46e0e3b984c16fb..2d89d71a916c2f4ef483259ca34281e32210581b 100644
--- a/chrome/browser/content_settings/content_settings_mock_observer.cc
+++ b/chrome/browser/content_settings/content_settings_mock_observer.cc
@@ -9,7 +9,20 @@ namespace content_settings {
MockObserver::MockObserver() {
}
-MockObserver::~MockObserver() {
+MockObserver::~MockObserver() {
+}
+
+MockRevocationObserver::MockRevocationObserver() {
+}
+
+MockRevocationObserver::~MockRevocationObserver() {
+}
+
+void MockRevocationObserver::OnContentSettingChanged(
+ const ContentSettingsPattern& primary_pattern,
+ const ContentSettingsPattern& secondary_pattern,
+ ContentSettingsType content_type,
+ std::string resource_identifier) {
}
} // namespace content_settings

Powered by Google App Engine
This is Rietveld 408576698