[SB Delayed Warnings] Only handle phishing pages
The delayed warnings experiment should only handle phishing pages. It doesn't make sense to run it for other threat types, as the goal is to understand the effect of different URL display modes to phishing threats. This CL also fixes a DCHECK when there are multiple unsafe resources in the current WebContents. The old code assumed that the method to create the user interaction observer could only be called once per WebContents. In reality, it's called for each unsafe resource, so this CL ignores subsequent calls. Bug: 1057157 Change-Id: Ifb87dae060c2a08c37aeef55835c318ba7bcdfec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130626 Commit-Queue: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Reviewed-by:
Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/heads/master@{#756470}
Showing
Please register or sign in to comment