• Eric Orth's avatar
    Fix DNS transaction error metrics · c9c1ea80
    Eric Orth authored
    Move recording of Net.DNS.DnsTransaction.*.*.FailureError to
    ResolveContext::RecordServerFailure() which is called for all server
    errors and timeouts rather than just errors where a response is still
    received.
    
    Also fix a bug where ResolveContext::RecordServerFailure() was not being
    called for all the errors it should be called for.
    
    Bug: 1101073
    Change-Id: I1e4032589b3ad1cab0e9cfe6f3bc7acc30c7dcca
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276651Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Commit-Queue: Eric Orth <ericorth@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#784510}
    c9c1ea80
resolve_context.h 9.97 KB