[iOS] Add WebStatePolicyDecider::PolicyDecision::CancelAndDisplayError
Returning a PolicyDecision which was created with CancelAndDisplayError from ShouldAllowRequest will cancel the request and display the error to the user. This can be used to display to the user why a request was cancelled. Bug: 1065161 Change-Id: I4418cb099aa7fab01a3bca6fa08d3c5e67fce986 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140958 Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#759567}
Showing
This diff is collapsed.
Please register or sign in to comment