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

Unified Diff: chrome/browser/extensions/extension_prefs.h

Issue 8380006: Exempt component and policy-installed extensions from policy blacklist check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 994a6a6eb99a9f5be392d7ddfaabbbf123b9b501..c1868e565f8bb1a7d9dfa9a2da51d85f51164dd4 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -173,7 +173,8 @@ class ExtensionPrefs : public ExtensionContentSettingsStore::Observer {
// Is the extension with |extension_id| allowed by policy (checking both
// whitelist and blacklist).
- bool IsExtensionAllowedByPolicy(const std::string& extension_id);
+ bool IsExtensionAllowedByPolicy(const std::string& extension_id,
+ Extension::Location location);
// Returns the last value set via SetLastPingDay. If there isn't such a
// pref, the returned Time will return true for is_null().

Powered by Google App Engine
This is Rietveld 408576698