Chromium Code Reviews| Index: extensions/browser/extension_prefs.h |
| diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h |
| index bae2126e755715670b87d5f5e1af6f103330df54..b8aa70b8c71f89f49467c23526bcde393c438c16 100644 |
| --- a/extensions/browser/extension_prefs.h |
| +++ b/extensions/browser/extension_prefs.h |
| @@ -280,10 +280,6 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService { |
| // blacklist. |
| std::set<std::string> GetBlacklistedExtensions() const; |
| - // Sets whether the extension with |id| is blacklisted. |
| - void SetExtensionBlacklisted(const std::string& extension_id, |
| - bool is_blacklisted); |
| - |
| // Returns the version string for the currently installed extension, or |
| // the empty string if not found. |
| std::string GetVersionString(const std::string& extension_id) const; |
| @@ -588,6 +584,10 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService { |
| URLPatternSet* result, |
| int valid_schemes) const; |
| + // Sets whether the extension with |id| is blacklisted. |
|
Devlin
2016/07/18 16:22:17
Can you add here:
// DEPRECATED. Use GetExtensionB
|
| + void SetExtensionBlacklisted(const std::string& extension_id, |
| + bool is_blacklisted); |
| + |
| // Converts |new_value| to a list of strings and sets the |pref_key| pref |
| // belonging to |extension_id|. |
| void SetExtensionPrefURLPatternSet(const std::string& extension_id, |