• Antonio Gomes's avatar
    Remove FetchParam parameter from fetch closure · 82937e55
    Antonio Gomes authored
    The closure in case is ContentHash::DidFetchVerifiedContents
    which takes a |const FetchParams&| parameter, but does not use it.
    This CL removes it.
    
    This is a driven by simplication as part of the preparation for
    making FetchParams non-copyable.
    
    Next, FetchParams will store a scoped_refptr<network::SharedURLLoaderFactory>
    rather than a raw network::mojom::URLLoaderFactory pointer.
    
    BUG=844926
    
    Change-Id: I237c93be558f4cc7c65c5de2f73e8722a246863d
    Reviewed-on: https://chromium-review.googlesource.com/1089272Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
    Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
    Cr-Commit-Position: refs/heads/master@{#565043}
    82937e55
content_hash.cc 13.4 KB