| Index: extensions/browser/extension_prefs.h
|
| diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
|
| index 4c6adf698cea0c45e5cd995292139c9fe9575fcc..db0431092f79582c46ad2549b1c55ab49d38fffa 100644
|
| --- a/extensions/browser/extension_prefs.h
|
| +++ b/extensions/browser/extension_prefs.h
|
| @@ -400,6 +400,19 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
|
| void SetActivePermissions(const std::string& extension_id,
|
| const PermissionSet* permissions);
|
|
|
| + // Populates |persisted_permissions| with the persisted permissions for the
|
| + // extension with |extension_id|, returning true on success.
|
| + bool GetPersistedPermissions(const std::string& extension_id,
|
| + URLPatternSet* persisted_permissions);
|
| +
|
| + // Adds |pattern| to |extension|'s persisted permissions for script injection
|
| + // requests.
|
| + void AddPersistedPermission(const Extension* extension,
|
| + const URLPattern* pattern);
|
| +
|
| + // Clears |extension|'s persisted permissions for script injection requests.
|
| + void ClearPersistedPermissions(const Extension* extension);
|
| +
|
| // Records whether or not this extension is currently running.
|
| void SetExtensionRunning(const std::string& extension_id, bool is_running);
|
|
|
|
|