[WebLayer] Introduce load error type for safe browsing errors
Safe browsing errors are currently folded into the OTHER_ERROR type by Navigation#getLoadError(). In fact, embedders need to be able to distinguish safe browsing errors from other types of errors. To do so, this CL introduces a new SAFE_BROWSING_ERROR load error type and configures the implementation to send this error type on safe browsing errors. Bug: 1149955 Change-Id: Ic70620ace6ebc79575f19dfe39898c9682146193 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551118 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#830152}
Showing
Please register or sign in to comment