forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ProtectedMediaIdentifierPermissionContext to derive from Per…
…missionContextBase. 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= Review URL: https://codereview.chromium.org/769103002 Cr-Commit-Position: refs/heads/master@{#308100}
- Loading branch information
timvolodine
authored and
Commit bot
committed
Dec 12, 2014
1 parent
5a17b56
commit 1baa388
Showing
8 changed files
with
71 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.