• Eric Orth's avatar
    Fix DNS.SB DoH entry · 143fdbd3
    Eric Orth authored
    The server template never got updated on a previous format change, but
    still managed to compile.  Add a validation in the constructor to ensure
    only valid server templates are listed.  Also add a test to make sure
    the list can be loaded without error (not completely necessary since
    other tests load the list, but a specific test helps make it extra
    obvious).
    
    Bug: 1065338
    Change-Id: Ie2b131a37bf7bd82c46747b5ab4e67d5b2f7eb7e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153319
    Commit-Queue: Eric Orth <ericorth@chromium.org>
    Commit-Queue: Matt Menke <mmenke@chromium.org>
    Auto-Submit: Eric Orth <ericorth@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#759803}
    143fdbd3
doh_provider_list.cc 8.4 KB