• Sky Malice's avatar
    [Feed] Use requested URLs when fetching offline status. · 003f1329
    Sky Malice authored
    Offline pages uses some non-exact url matching, such as removing
    fragments and matching redirects. The host communicates with the Feed
    only through exact matches. The change switches the get status path to
    full use exact requested URL matches.
    
    Unfortunately observations from OfflinePagesModel still must trust the
    offline pages URL, but this is not easily fixable.
    
    Bug: 888770
    Change-Id: I9b6d7734547af149d2e0e5af28aea071b4f18a36
    Reviewed-on: https://chromium-review.googlesource.com/c/1278933Reviewed-by: default avatarFilip Gorski <fgorski@chromium.org>
    Commit-Queue: Sky Malice <skym@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#599994}
    003f1329
feed_offline_host.cc 9.78 KB