Prioritize QuietUiReason::kTriggeredByCrowdDeny.

Even if displaying notification permission requests using the quiet UI
is enabled on all sites, the NotificationPermissionUiSelector should
still check the crowd deny state. If crowd deny prescribes triggering,
QuietUiReason::kTriggeredByCrowdDeny should be returned instead of
kEnabledInPrefs, so that the less-prominent version of the UI and the
correct string is shown.

(cherry picked from commit d7199b463e6cdec4629cd955374b5259bef8df66)

Bug: 1032043
Change-Id: I29f6b1773131f74952ef5816ffd2518c0d91fc15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958137
Commit-Queue: Balazs Engedy <[email protected]>
Reviewed-by: Kamila Hasanbega <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#723334}
TBR: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1965653
Reviewed-by: Balazs Engedy <[email protected]>
Cr-Commit-Position: refs/branch-heads/3987@{#79}
Cr-Branched-From: c4e8da9871cc266be74481e212f3a5252972509d-refs/heads/master@{#722274}
2 files changed