| Index: chrome/browser/extensions/extension_prefs.h
|
| diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
|
| index 51d61168aba35660e9020487ff8b7f820664d04b..832381833887769c35d18e07c359d50efc84c111 100644
|
| --- a/chrome/browser/extensions/extension_prefs.h
|
| +++ b/chrome/browser/extensions/extension_prefs.h
|
| @@ -147,6 +147,18 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
|
| const Extension* extension,
|
| bool did_escalate);
|
|
|
| + // Does the extension declare requirements that the system does not meet?
|
| + bool HasUnsupportedRequirements(const std::string& extension_id);
|
| +
|
| + // Remove any unsupported requirement warnings that this extension has.
|
| + void ClearUnsupportedRequirements(const std::string& extension_id);
|
| +
|
| + void SetUnsupportedRequirements(const std::string& extension_id,
|
| + std::vector<std::string> requirement_errors);
|
| +
|
| + std::vector<std::string> GetUnsupportedRequirements(
|
| + const std::string& extension_id);
|
| +
|
| // Getter and setters for disabled reason.
|
| Extension::DisableReason GetDisableReason(
|
| const std::string& extension_id);
|
|
|