Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge] CaptivePortalDetector: Restore DCHECKs and add safety test.
This downgrades some CHECKS back to DCHECKs after the investigation for crbug.com/1361443 has completed. It also adds a safety check to prevent crashes if DetectCaptivePortal is called incorrectly and a comment describing the correct usage. BUG=1382965 TEST=No more production crashes in CaptivePortalDetector::DetectCaptivePortal (cherry picked from commit 681f054) Change-Id: I8c656b772411d11b68ff3ed742d6caf3abe7664a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4020985 Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1070449} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4026426 Commit-Queue: Matt Menke <mmenke@chromium.org> Auto-Submit: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/branch-heads/5414@{#35} Cr-Branched-From: 4417ee5-refs/heads/main@{#1070088}
- Loading branch information