• Titouan Rigoudy's avatar
    [CORS-RFC1918] Add ResourceResponse::AddressSpace(). · b088a0ad
    Titouan Rigoudy authored
    This extracts various computations of the response address space spread
    out around third_party/blink/renderer to content/renderer/loader. It
    prepares for moving that computation to services/network, alongside the
    CORS-RFC1918 checks that compute the authoritative version of response's
    address space.
    
    This also enables easily extending the current UseCounters in
    MixedContentChecker to cover the private-embedded-in-public case.
    
    Bug: chromium:955213, chromium:1124358
    Change-Id: I92642c2da8c062a51afd1fb6a783b164c4cd904b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424083
    Commit-Queue: Titouan Rigoudy <titouan@chromium.org>
    Auto-Submit: Titouan Rigoudy <titouan@chromium.org>
    Reviewed-by: default avatarMike West <mkwst@chromium.org>
    Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#810621}
    b088a0ad
web_url_loader_impl.cc 50.5 KB