[OOR-CORS] Have PreflightResult functions return CORSErrorStatus
...instead of mojom::CORSError. Currently they return a mojom::CORSError and callers need to compose a CORSErrorStatus from it. That requires callers to know which specific errors are returned from the function, which is not good. Bug: 736308 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I5b0dfaf5b906e0203c9a72ebaef759a8fafa4ad3 Reviewed-on: https://chromium-review.googlesource.com/1147681Reviewed-by:Adam Rice <ricea@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#577443}
Showing
Please register or sign in to comment