commit | 59066228afc61c65c1be6e17fb5ffc433cd76051 | [log] [tgz] |
---|---|---|
author | Eric Orth <[email protected]> | Thu Mar 07 23:52:27 2019 |
committer | Commit Bot <[email protected]> | Thu Mar 07 23:52:27 2019 |
tree | 2852823a1d5a363ef14a31fbcc77604f0e1db557 | |
parent | b4231cb31714b574e8b2a47de80d7622cdae6159 [diff] |
Create ContextHostResolver Wraps HostResolverImpl and replaces almost all direct use of HostResolverImpl. In subsequent CLs, this will become a per-context object around the mostly-global HostResolverImpl, but until then, there should be no functional difference from this CL alone. Just adding an additional layer of indirection, generally invisible to callers. In a slight deviation from a previous version of this work (crrev.com/c/1418880), the new object is what implements the HostResolver interface (not HostResolverImpl) to avoid including the per-context parameters (especially HostCache) in the interface and keep them implementation details between ContextHostResolver and HostResolverImpl. This also led to separating off ProcTaskParams (to host_resolver_proc.h) as its no longer clearly owned by either ContextHostResolver or HostResolverImpl (parameter to one, used by the other) and it's now desirable to limit #includes of host_resolver_impl.h. Bug: 934402 Change-Id: I0a88614854011d52335d3a7bb335ba6a85fe0aa3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1481599 Reviewed-by: Paul Jensen <[email protected]> Commit-Queue: Paul Jensen <[email protected]> Auto-Submit: Eric Orth <[email protected]> Cr-Commit-Position: refs/heads/master@{#638820}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .