Add TimeoutPolicy to PreviewsProber
Timeouts count as a failed attempt. I'm not using the SimpleURLLoader timeout because I can't set it's TickClock for testing without calling SetTickClockForTesting in the production code. Bug: 977603 Change-Id: I6c4c6d0ebbc10f95942ca0e83011270735216c6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1679222 Commit-Queue: Robert Ogden <robertogden@chromium.org> Reviewed-by:Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#672707}
Showing
Please register or sign in to comment