commit | fc87d10d2aeceed3864c3d087a8b296f4b40c110 | [log] [tgz] |
---|---|---|
author | Eric Orth <[email protected]> | Thu Dec 23 20:31:27 2021 |
committer | Chromium LUCI CQ <[email protected]> | Thu Dec 23 20:31:27 2021 |
tree | f60925c3a884a72d8e2f1e4f8f55697879f6325e | |
parent | 32d72512d04acf62d8a9f04da711f170725e3e14 [diff] |
Fixup HostResolver alias results Remove the `ipv*_alias_name` values from HostResolverEndpointResult. We've decided that we won't need them. Also make some adjustments to the behavior around ResolveHostParameters::include_canonical_name to match our needs going forward. The parameter now always ensures the system resolver is used (DCHECKing on cases where other parameters prevent that) and the GetDnsAliasResults() now returns exactly the single canonical name received from the system resolver without any modification (matching what could currently be read from `GetAddressResults()->GetCanonicalName()`. While theoretically a behavior change, this shouldn't actually affect any of the current non-test usage because the parameter is only set when the system resolver can be used and only getting the name from GetCanonicalName(). And alias names are now always included, if known, in GetDnsAliasResults() regardless of the parameter (as was already the case, but now it's documented and tested as such). Also some test cleanups to add more reliance on GetDnsAiasResults() in anticipation of reducing alias availability in address results. Bug: 1264933 Change-Id: Iedc5f1eaa7aa01d3a34753e1ff0687d294b2b057 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3346200 Reviewed-by: David Benjamin <[email protected]> Commit-Queue: Eric Orth <[email protected]> Cr-Commit-Position: refs/heads/main@{#953923}
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.
If you found a bug, please file it at https://crbug.com/new.