| Index: extensions/common/permissions/permissions_data.h
|
| diff --git a/extensions/common/permissions/permissions_data.h b/extensions/common/permissions/permissions_data.h
|
| index 699740325cc0e0b0e198ff6c66e3f4272fe3327a..a619590a29d8b32c0c3980d36dcd6620ffe11d66 100644
|
| --- a/extensions/common/permissions/permissions_data.h
|
| +++ b/extensions/common/permissions/permissions_data.h
|
| @@ -165,6 +165,12 @@ class PermissionsData {
|
| // display at install time, in a nested format ready for display.
|
| PermissionMessages GetPermissionMessages() const;
|
|
|
| + // Returns the list of permission details for permissions that are included in
|
| + // active_permissions(), but not present in |granted_permissions|. These are
|
| + // returned in a nested format, ready for display.
|
| + PermissionMessages GetNewPermissionMessages(
|
| + const PermissionSet& granted_permissions) const;
|
| +
|
| // Returns true if the extension has requested all-hosts permissions (or
|
| // something close to it), but has had it withheld.
|
| bool HasWithheldImpliedAllHosts() const;
|
|
|