Refactor should redirect check to callback
The upcoming robots rules based subresource redirect check is asynchronous. So this CL refactors the should redirect image check to a callback. It should be noted that the callback can happen synchronously too, i.e., while the should redirect call is still executing. This CL handles both the cases. Bug: 1144836 Change-Id: I7afc42239e93834ab41128e9ebe611c1fef828ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2533287 Commit-Queue: rajendrant <rajendrant@chromium.org> Reviewed-by:Michael Crouse <mcrouse@chromium.org> Cr-Commit-Position: refs/heads/master@{#828619}
Showing
Please register or sign in to comment