| Index: chrome/browser/content_settings/mock_content_settings_provider.cc
|
| diff --git a/chrome/browser/content_settings/mock_content_settings_provider.cc b/chrome/browser/content_settings/mock_content_settings_provider.cc
|
| index f93f7cef1568cbb0c5e2ba04089e17c5f03c6d85..ee3e845037ceee68cd1154b07cd6c3b6a07b2d4f 100644
|
| --- a/chrome/browser/content_settings/mock_content_settings_provider.cc
|
| +++ b/chrome/browser/content_settings/mock_content_settings_provider.cc
|
| @@ -19,12 +19,12 @@ MockContentSettingsProvider::~MockContentSettingsProvider() {
|
| }
|
|
|
| bool MockContentSettingsProvider::CanProvideDefaultSetting(
|
| - ContentSettingsType content_type) {
|
| + ContentSettingsType content_type) const {
|
| return content_type == content_type_;
|
| }
|
|
|
| ContentSetting MockContentSettingsProvider::ProvideDefaultSetting(
|
| - ContentSettingsType content_type) {
|
| + ContentSettingsType content_type) const {
|
| return content_type == content_type_ ? setting_ : CONTENT_SETTING_DEFAULT;
|
| }
|
|
|
| @@ -36,6 +36,9 @@ void MockContentSettingsProvider::UpdateDefaultSetting(
|
| }
|
|
|
| bool MockContentSettingsProvider::DefaultSettingIsManaged(
|
| - ContentSettingsType content_type) {
|
| + ContentSettingsType content_type) const {
|
| return content_type == content_type_ && is_managed_;
|
| }
|
| +
|
| +void MockContentSettingsProvider::ResetToDefaults() {
|
| +}
|
|
|