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

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

Issue 1767423002: [Do not commit] Track revocations in content_settings::Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_pref.h
diff --git a/components/content_settings/core/browser/content_settings_pref.h b/components/content_settings/core/browser/content_settings_pref.h
index a49929d52d1c01b9933e9deb744745f1425584d1..62d4a1a0c36df82dee58ac5f19902992db99d137 100644
--- a/components/content_settings/core/browser/content_settings_pref.h
+++ b/components/content_settings/core/browser/content_settings_pref.h
@@ -41,6 +41,7 @@ class ContentSettingsPref {
typedef base::Callback<void(const ContentSettingsPattern&,
const ContentSettingsPattern&,
ContentSettingsType,
+ ContentSetting,
const std::string&)> NotifyObserversCallback;
ContentSettingsPref(ContentSettingsType content_type,
@@ -92,7 +93,7 @@ class ContentSettingsPref {
// value to the obsolete preference. When calling this function, |lock_|
// should not be held, since this function will send out notifications of
// preference changes.
- void UpdatePref(
+ ContentSetting UpdatePref(
const ContentSettingsPattern& primary_pattern,
const ContentSettingsPattern& secondary_pattern,
const ResourceIdentifier& resource_identifier,

Powered by Google App Engine
This is Rietveld 408576698