• Colin Blundell's avatar
    [Safe Browsing] Abstract signin dep from RealTimeUrlLookupService · 85753b0f
    Colin Blundell authored
    This CL continues with the abstraction of dependencies on signin and
    sync from //components/safe_browsing's access token fetching flow in
    order to enable reuse by WebLayer. The concrete step taken here is to
    abstract the dependencies on
    //components/safe_browsing/core/browser/sync from
    RealTimeUrlLookupService, passing these dependencies in via the
    constructor. There are no behavioral changes in this CL:
    - //chrome and //ios/chrome's factories glue the relevant parameters
      from //components/safe_browsing/core/browser/sync
    - //weblayer's factory passes in values for the parameters such that
      access token fetching for URL lookups continues to be disabled in
      WebLayer
    
    Followup work will bring up support for access token fetching in
    WebLayer.
    
    Bug: 1080748
    Change-Id: I69fca4b2d04118088bb48596eb192beab7bafb4f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2621301Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
    Reviewed-by: default avatarXinghui Lu <xinghuilu@chromium.org>
    Commit-Queue: Colin Blundell <blundell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#842942}
    85753b0f
BUILD.gn 32.2 KB