| Index: chrome/browser/extensions/extension_prefs.h
|
| diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
|
| index f42c62c5b5ea1872ea7dea6267f4327ac3a4d126..c5735c4aeb4d7c91d25a1ead169084a82008e7d1 100644
|
| --- a/chrome/browser/extensions/extension_prefs.h
|
| +++ b/chrome/browser/extensions/extension_prefs.h
|
| @@ -260,6 +260,10 @@ class ExtensionPrefs : public extensions::ContentSettingsStore::Observer,
|
| void AddGrantedPermissions(const std::string& extension_id,
|
| const extensions::PermissionSet* permissions);
|
|
|
| + // As above, but subtracts the given |permissions| from the granted set.
|
| + void RemoveGrantedPermissions(const std::string& extension_id,
|
| + const extensions::PermissionSet* permissions);
|
| +
|
| // Gets the active permission set for the specified extension. This may
|
| // differ from the permissions in the manifest due to the optional
|
| // permissions API. This passes ownership of the set to the caller.
|
|
|