Factor out DnsConfigService::Watcher logic
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). Some logic for handling the detected-change notifications also moved from the (now-shared) Watcher to DnsConfigService, as the logic wasn't really part of "watching" but more handling. Bug: 1157492 Change-Id: Ie813e5d9085cb4a109f7cad9b28d351562352b2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616421Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Eric Orth <ericorth@chromium.org> Cr-Commit-Position: refs/heads/master@{#842578}
Showing
Please register or sign in to comment