commit | 836394d8f93fd7631a4f9496ab82120e3fa552d4 | [log] [tgz] |
---|---|---|
author | Frédéric Wang <fwang@igalia.com> | Fri Jan 15 11:07:52 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 15 11:07:52 2021 |
tree | f6acdde85486f92ec47983c6b8178c95388d8b51 | |
parent | 9603052ba05adc3bdca33c025c0bb4afe5a10052 [diff] |
Implement SecurityOrigin::IsPotentiallyTrustworthy with network::IsOriginPotentiallyTrustworthy After previous refactoring, the body of SecurityOrigin::IsPotentiallyTrustworthy is essentially equivalent to network::IsOriginPotentiallyTrustworthy, except that it first DCHECKs the protocol is not "data" and handles opaque origins specially. This CL relies on network's method to implement SecurityOrigin's one in order to reduce code duplication. There should be no visible behavior change. Bug: 1153336 Change-Id: Ib88bd716174d4ac68c50bcc99a82fd2e51303b93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615260 Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#844028}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.