Added PermissionIDSet to APIPermissions
Added a GetPermissions() method to APIPermissions, which returns the
PermissionIDSet for that API permission. This will be used for the new
permission messages system, which can generate
CoalescedPermissionMessages from these permissions.
BUG=
398257
Committed:
https://crrev.com/3dd05ace0ab81578fb5a11525501879d054b4370
Cr-Commit-Position: refs/heads/master@{#308034}