OOR-CORS: Remove redundant checks from ThreadableLoader
This should be the last OOR-CORS related minor clean up in the ThreadableLoader. - Remove redundant kDisallowedByMode checks from the ThreadableLoader as this is checked at the CORS checks in the network service. - Remove unused methods, ReportResponseReceived, GetSecurityOrigin, and GetFrame. - Add Resource* and client_ dchecks to methods that haven't had such checks to be consistent. - Remove ThreadableLoaderTest.*DidFailInStart as Start never fails after this change. Change-Id: Ie91586c56c6d3cf37ec28a9c3f0ea199b95056a2 Bug: 1053866 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2525384 Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Auto-Submit: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#826800}
Showing
Please register or sign in to comment