DescriptionPermissions: Move common logic from DecidePermission to RequestPermission
Refactoring - PermissionContextBase::DecidePermission is the natural
method to override, but it contains a bunch of common logic that most
permissions need. This patch moves that logic to RequestPermission,
making it easier to override DecidePermission.
BUG=479679
Committed: https://crrev.com/c36a56c4efdde9d080a04650f66f47cb5a7f9484
Cr-Commit-Position: refs/heads/master@{#362720}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address review comments #Patch Set 3 : Rebase / git cl format #
Messages
Total messages: 20 (9 generated)
|