DescriptionSimplify permission-related code for Web Notifications.
(1) Remove support for inheriting the "notification" API permission
for packaged and hosted apps using the Web Notification API. This
has been inadvertently broken since Chrome 42.
(2) Give notifications a dedicated NotificationPermissionContext,
similar to those other features have. (+ unit tests)
(3) Remove and clean up all unused code.
This further emphasizes the DesktopNotificationService as a deprecated
concept. I'll remove it entirely in a follow-up patch.
BUG=504361
Committed: https://crrev.com/b514ab0de3c448941a4b3d16d5984b042e3d51c0
Cr-Commit-Position: refs/heads/master@{#337206}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 20
Patch Set 4 : comments #
Total comments: 9
Patch Set 5 : further comments #
Total comments: 2
Patch Set 6 : #Messages
Total messages: 24 (6 generated)
|