Clean up redirect handling logic in DocumentThreadableLoader
Removing the variable allow_redirect and calling DispatchDidFailAccessControlCheck() immediately on each of check points would be more readable. Bug: 427429 Change-Id: Ib8d98c274104e2d5d6c65af123502b872a6658d7 Reviewed-on: https://chromium-review.googlesource.com/544646 Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#490744}
Showing
Please register or sign in to comment