-
Eric Orth authored
Similar logic is currently duplicated between DnsConfigServiceWin and DnsConfigServicePosix, and there would be even more duplication if DCSPosix is further split by platforms (as I intend to do in a subsequent CL). As HOSTS-reading logic is so similar between platforms, the base implementation is now able to do everything for the Posix platforms with just a simple constructor param to set the file location, and only minimal overriding is needed for Windows. Bug: 1157492 Change-Id: I1051580c891b8c86f46ac6d0b68f89c7b60244b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625348 Commit-Queue: Eric Orth <ericorth@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#843254}
1f249874