Fix DlpTriggeredRulesOK when policy is off
Every call to DlpTriggeredRulesOK implicitly assumes that DLP should be checked. By returning true on non-UPLOADS policy values we avoid getting false-negatives on DLP checks. Also update tests since they all run with the assumption that every response has both a malware and a dlp verdict. Change-Id: I2fd329ced7932ce98d9af8d376ceaf984614f3c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929851Reviewed-by:Roger Tawa <rogerta@chromium.org> Reviewed-by:
Daniel Rubery <drubery@chromium.org> Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org> Cr-Commit-Position: refs/heads/master@{#718818}
Showing
This diff is collapsed.
Please register or sign in to comment