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, |