[Payment Request] Moves the check for secure context into a helper class
Also fixes a bug where non cryptographic URLs with a secure origin (e.g., Data URI) were being deemed as local and were not being caught. Bug: 602666 Change-Id: I1d017e47253ac3c60f3a9a178f5f3c525e801abb Reviewed-on: https://chromium-review.googlesource.com/590698Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: mahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#490761}
Showing
Please register or sign in to comment