Add ContextualNotificationPermissionUiSelector.
ContextualNotificationPermissionUiSelector determines if the quiet prompt UI should be used to display a notification permission request on a given site. This is the case when: 1) the quiet UI is enabled in prefs for all sites, either directly by the user in settings, or by the AdaptiveQuietNotificationPermissionUiEnabler. 2) the quiet UI is triggered by crowd deny, either through: a) CrowdDenyPreloadData, that is, the component updater, or b) CrowdDenySafeBrowsingRequest, that is, on-demand Safe Browsing pings. The ContextualNotificationPermissionUiSelector is also wired up to the PermissionRequestManager instead NotificationPermissionUiSelectorBasedOnPrefs. Bug: 1028642 Change-Id: Ibb44ec1e0f0fe95d4fb350e9c2211199719df103 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1944395 Commit-Queue: Balazs Engedy <engedy@chromium.org> Reviewed-by:Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/master@{#721748}
Showing
Please register or sign in to comment