DescriptionUse GetPermissionStatus instead of DesktopNotificationProfileUtil::GetContentSetting
DesktopNotificationProfileUtil::GetContentSetting() will call directly into
HostContentSettingsMap::GetContentSetting() and thus miss some checks in
permission layer.
In this CL DesktopNotificationProfileUtil::GetContentSetting()is removed and all
its call sites are changed to call PermissionManager::GetPermissionStatus().
Committed: https://crrev.com/106c1779974bbe7570713d9503929b1be3e0de62
Cr-Commit-Position: refs/heads/master@{#397960}
Patch Set 1 : #Patch Set 2 : change GetNotificationOrigin to use GetSettingForOrigin on Android #
Total comments: 4
Patch Set 3 : remove embber param for notifications #
Total comments: 1
Messages
Total messages: 26 (11 generated)
|