• David Benjamin's avatar
    Prefer privacy_mode in QuicSessionKey over QuicServerId · f6f04313
    David Benjamin authored
    This fixes some easy instances of the privacy_mode_enabled boolean.
    Rather than reconstruct the enum out of QuicServerId's boolean, use the
    Chromium accessor. (The Chromium accessor currently reconstructs things
    itself, but I'm hoping we can change that. Either way, this avoids some
    duplicated code.)
    
    Where privacy_mode_enabled was logged as a boolean, I've switched to a
    string rperesentation pulled out of url_request_netlog_params.cc. Also
    I've filled in a few missing parts of QuicSessionKey in one of the log
    events and sync'd up with the comments in net/log.
    
    Bug: 1103350
    Change-Id: I6906fa802f6ebb0a8b6c187519df68a74a1d3b13
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2296629
    Commit-Queue: David Benjamin <davidben@chromium.org>
    Commit-Queue: Nick Harper <nharper@chromium.org>
    Auto-Submit: David Benjamin <davidben@chromium.org>
    Reviewed-by: default avatarNick Harper <nharper@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#788410}
    f6f04313
BUILD.gn 238 KB