• Eric Orth's avatar
    Factor out DnsConfigService::Watcher logic · f975321f
    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).
    
    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: default avatarMatt Menke <mmenke@chromium.org>
    Commit-Queue: Eric Orth <ericorth@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#842578}
    f975321f
dns_config_service_fuchsia.cc 985 Bytes