[iOS] Add EG tests for real-time Safe Browsing
This adds integration tests for real-time Safe Browsing checks. In order to test real-time lookups without making network requests to Safe Browsing servers, this adds a "--mark_as_real_time_phishing" command-line flag for treating a given URL as unsafe. This works by adding an unsafe verdict for this URL to VerdictCacheManager. This also adds a "--mark_as_allowed" command-line flag for treating a URL as safe according to the allowlist used by real-time lookups. Bug: 1111414 Change-Id: Id72c6a4f4ffe2186a71e680b34df9a1c4d0a7a59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357553 Commit-Queue: Ali Juma <ajuma@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#800733}
Showing
Please register or sign in to comment