DescriptionAdd a PermissionContext subclass for the midi permission
This adds a PermissionContext subclass for the midi permission, removing the
special casing from PermissionManager. This is necessary because the midi
permission will have a feature policy associated with it and feature policy
will take effect in the PermissionContext subclass in
GetPermissionStatusInternal. It needs to live here so that the permission
status checks in PermissionContextBase::RequestPermission return the
correct values. It is also just where all other permission checks live (like
secure origin, kill switch, etc.).
BUG=689802
Review-Url: https://codereview.chromium.org/2897833002
Cr-Commit-Position: refs/heads/master@{#475272}
Committed: https://chromium.googlesource.com/chromium/src/+/c2cf640fde6976075f3b8876ed68eec9d0e97a61
Patch Set 1 #Patch Set 2 : Midi sysex #Patch Set 3 : Midi sysex #Patch Set 4 : Midi sysex #
Total comments: 6
Patch Set 5 : Midi sysex #Dependent Patchsets: Messages
Total messages: 29 (21 generated)
|