• Tarun Bansal's avatar
    Send UI service provided resource loading hints to renderer · 14283672
    Tarun Bansal authored
    Currently, we send an empty string as a resource loading hint to the
    renderer when doing previews resource loading hints optimization.
    This CL changes the browser's behavior to send the resource loading
    hints that are provided by Previews UI service.
    
    The CL also enables browsertest to modify the list of hints that are
    sent to the renderer. This will be used in a browsertest in a subsequent
    CL to verify that subresources that match the pattern are not loaded.
    
    Bug: 856243,856247
    Change-Id: I29a393dd37090fcb8dc5706669e88e0ae91f47db
    Reviewed-on: https://chromium-review.googlesource.com/1136885Reviewed-by: default avatarRyan Sturm <ryansturm@chromium.org>
    Commit-Queue: Tarun Bansal <tbansal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#575395}
    14283672
previews_ui_service.h 6.92 KB