• Michael Crouse's avatar
    Reland "[LiteVideo] Do not attempt LiteVideos on Reloads/Forward-Back." · 6f9ca96c
    Michael Crouse authored
    This is a reland of 6ea86d08
    
    The issue was the network condition checks which are now override by
    a switch for these tests (see cl/2284978).
    
    Original change's description:
    > [LiteVideo] Do not attempt LiteVideos on Reloads/Forward-Back.
    >
    > This change prevents LiteVideos from being attempted when the
    > navigation is a reload or forward-back page transition. It also
    > adds an entry for host of the navigation to the user blocklist to
    > allow users to soft opt-out of the optimization if they reload
    > frequently on a host.
    >
    > A future change will clear the blocklist when the browser history
    > is wiped.
    >
    > Bug: 1096796
    > Change-Id: I687d4c9cd0844d7475f6a3baedacebcf73a48845
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276681
    > Commit-Queue: Michael Crouse <mcrouse@chromium.org>
    > Commit-Queue: Tarun Bansal <tbansal@chromium.org>
    > Auto-Submit: Michael Crouse <mcrouse@chromium.org>
    > Reviewed-by: Tarun Bansal <tbansal@chromium.org>
    > Reviewed-by: Sophie Chang <sophiechang@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#786127}
    
    TBR=tbansal@chromium.org
    
    Bug: 1096796
    Change-Id: I5164e510bfb06fc97e45ab9c82c482dc25529e1d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2287380Reviewed-by: default avatarMichael Crouse <mcrouse@chromium.org>
    Commit-Queue: Michael Crouse <mcrouse@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#786432}
    6f9ca96c
lite_video_decider.h 3.41 KB