• Dmitry Gozman's avatar
    Remove main resource response data from DocumentState · 5b2f9f1a
    Dmitry Gozman authored
    Load times extension bindings are using some rare response data like
    "was alpn negotiated". Currently, these fields are stored in DocumentState,
    but they should be available on WebURLResponse instead.
    
    Moving these fields to WebURLResponse almost gets rid of DocumentState,
    which opens up more opportunities for cleanup around navigation flow.
    
    This corresponds to the step 15.e from the doc linked to the bug.
    
    TBR=csharrison@chromium.org
    
    Bug: 855189
    Change-Id: I9c83b88d5d941798be4a851166b8e9894cc82974
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1844052
    Commit-Queue: Dmitry Gozman <dgozman@chromium.org>
    Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#704625}
    5b2f9f1a
render_frame_impl.cc 307 KB