Remove SecurityPolicy::IsUrlTrustworthySafelisted()
This CL removes SecurityPolicy::IsUrlTrustworthySafelisted() which is basically a wrapper to IsOriginTrustworthySafelisted(). The only place where it is used outside SecurityOrigin::IsSecure() is in PaymentsValidators::IsValidMethodFormat() for a non-opaque http URL. However, the corresponding section can thus just be replaced with a call to SecurityOrigin::IsPotentiallyTrustworthy(). Bug: 1153336 Change-Id: I3f3362aa12ab10ee2a2ed945064203deec622ca7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587738Reviewed-by:Mike West <mkwst@chromium.org> Commit-Queue: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#836620}
Showing
Please register or sign in to comment