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

Unified Diff: extensions/browser/extension_prefs.h

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 7 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: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index d2cc9ebc4277849faf60e50a7cc38c3cd22e2e91..c6066c3f0aebac4a885e395999b1b9e8aa33509f 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -254,8 +254,10 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
const Extension* extension,
bool did_escalate);
- // Getter and setters for disabled reason.
+ // Getters and setters for disabled reason.
int GetDisableReasons(const std::string& extension_id) const;
+ bool HasDisableReason(const std::string& extension_id,
+ Extension::DisableReason disable_reason) const;
void AddDisableReason(const std::string& extension_id,
Extension::DisableReason disable_reason);
void RemoveDisableReason(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698