DescriptionRefactor ProtectedMediaIdentifierPermissionContext to derive from PermissionContextBase.
Refactoring of ProtectedMediaIdentifierPermissionContext to derive from
PermissionContextBase class to conform with other APIs like geolocation
and midi. This has the advantage of less code and a consistent path for
all permissions. Also it makes it easier to implement PermissionService
because some functionality like HasPermission() can be implemented at
the level of PermissionContextBase.
Also add the corresponding UMA bits in histograms.xml and
permission_context_uma_util.cc.
BUG=
Committed: https://crrev.com/1baa38863fad853087e411af1fff950ba16cf5de
Cr-Commit-Position: refs/heads/master@{#308100}
Patch Set 1 #Patch Set 2 : cleanup and fix compile #
Total comments: 10
Patch Set 3 : apply comments, fix compile #
Total comments: 14
Patch Set 4 : address Miguel's comments add UMA #Patch Set 5 : add #ifdef OS_CHROMEOS and clean-up includes #Messages
Total messages: 29 (7 generated)
|