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

Unified Diff: extensions/browser/extension_prefs.h

Issue 2147923002: [Extensions] Fixed removing from blacklist. (Closed) Base URL: ssh://bitbucket.browser.yandex-team.ru/chromium/src.git@master
Patch Set: Unnecessary extensions:: namespace is removed. Created 4 years, 5 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
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index bae2126e755715670b87d5f5e1af6f103330df54..7640b337e4dba4edcce1efa40143eaf9826db5d5 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,12 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
URLPatternSet* result,
int valid_schemes) const;
+ // DEPRECATED. Use GetExtensionBlacklistState() instead.
+ // TODO(atuchin): Remove this once all clients are updated.
+ // Sets whether the extension with |id| is blacklisted.
+ 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,
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698