| 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..90630749f693ae94f124c1ba161cb69dd3832134 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);
|
| @@ -456,6 +468,10 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
|
| virtual void UpdateExtensionPref(const std::string& id,
|
| const std::string& key,
|
| base::Value* value) OVERRIDE;
|
| + virtual void UpdateExtensionPrefList(const std::string& id,
|
| + const std::string& key,
|
| + const std::vector<std::string>& value)
|
| + OVERRIDE;
|
| virtual void DeleteExtensionPrefs(const std::string& id) OVERRIDE;
|
| virtual bool ReadExtensionPrefBoolean(
|
| const std::string& extension_id,
|
| @@ -467,6 +483,10 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
|
| const std::string& extension_id,
|
| const std::string& pref_key,
|
| const base::ListValue** out_value) const OVERRIDE;
|
| + virtual bool ReadExtensionPrefStringList(
|
| + const std::string& extension_id,
|
| + const std::string& pref_key,
|
| + std::vector<std::string>* out_value) const OVERRIDE;
|
| virtual bool ReadExtensionPrefString(const std::string& extension_id,
|
| const std::string& pref_key,
|
| std::string* out_value) const OVERRIDE;
|
|
|