Add CanAccessDataForOrigin overload taking url::Origin parameter.

This CL is the first step in adding support for CanAccessDataForOrigin
using the actual url::Origin type. The goal here is to convert a few
calls that have actual origin type to use the new method and provide
better logging for crashes. It will allow us to log precursor info
for origins that fail to pass the security check.

Follow up CLs will add the actual security checks for precursor origins.

Bug: 918565, 919144
Change-Id: I77386d31a675fe7f7518305702babf4e65895bc1
Reviewed-on: https://chromium-review.googlesource.com/c/1464930
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Ɓukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631496}
14 files changed