| Index: chrome/browser/extensions/extension_prefs.h
|
| diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
|
| index 70565fa95f8822c8b3f26ac17c9ad31b6136cfd5..c68050ffa9708f76261f1e0d7d00b4c4d266a2f3 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);
|
|
|