Chromium Code Reviews| Index: chrome/browser/extensions/api/content_settings/content_settings_api.cc |
| diff --git a/chrome/browser/extensions/api/content_settings/content_settings_api.cc b/chrome/browser/extensions/api/content_settings/content_settings_api.cc |
| index 99f7fc0be134af984eb1423388679a2ea7a3ce2d..ad5904520f250d96cb35f3db887186a932ddd7d0 100644 |
| --- a/chrome/browser/extensions/api/content_settings/content_settings_api.cc |
| +++ b/chrome/browser/extensions/api/content_settings/content_settings_api.cc |
| @@ -87,7 +87,7 @@ bool ContentSettingsContentSettingClearFunction::RunSync() { |
| } |
| } |
| - ContentSettingsStore* store = |
| + scoped_refptr<ContentSettingsStore> store = |
|
dcheng
2014/08/26 00:50:20
Note: this variable type was rewritten instead of
Jeffrey Yasskin
2014/08/26 01:14:16
The change that introduced the scoped_refptr retur
|
| ContentSettingsService::Get(GetProfile())->content_settings_store(); |
| store->ClearContentSettingsForExtension(extension_id(), scope); |
| @@ -238,7 +238,7 @@ bool ContentSettingsContentSettingSetFunction::RunSync() { |
| return false; |
| } |
| - ContentSettingsStore* store = |
| + scoped_refptr<ContentSettingsStore> store = |
|
dcheng
2014/08/26 00:50:20
Note: this variable type was rewritten instead of
|
| ContentSettingsService::Get(GetProfile())->content_settings_store(); |
| store->SetExtensionContentSetting(extension_id(), primary_pattern, |
| secondary_pattern, content_type, |