Refactor ContextualNotificationPermissionUiSelector.
This CL introduces no behavior changes, it just moves from a model with: (UiToUse + QuietUiReason) to: Decision = (QuietUiReason + WarningReason), where either being base::nullopt indicates that the normal UI should be used, or no warning should be printed, respectively. Bug: 1087005, 1081233 Change-Id: I90563d2fc245f2f25a132566f394d74dd22c2f70 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218309 Commit-Queue: Balazs Engedy <engedy@chromium.org> Reviewed-by:Balazs Engedy <engedy@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Reviewed-by:
Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/master@{#772654}
Showing
This diff is collapsed.
Please register or sign in to comment