• Rayan Kanso's avatar
    [Background Fetch] Fix ChromeOS delegate bug. · 3d7e92af
    Rayan Kanso authored
    ChromeOS was creating multiple BackgroundFetchDelegate clients, and
    overwriting the client initiating the fetches.
    
    The fix was to check that we are not overwriting the client. This fixes
    our problems in the short term, and a longer term fix is planned in
    crbug.com/907075.
    
    The fix works on ChromeOS head, as well as 71 (tested via manually
    merging the change).
    
    Bug: 907038
    Change-Id: Ic1d5bc9f55b22359aa592c71f49d8ab5ed90de5e
    Reviewed-on: https://chromium-review.googlesource.com/c/1344030
    Commit-Queue: Rayan Kanso <rayankans@chromium.org>
    Reviewed-by: default avatarPeter Beverloo <peter@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609975}
    3d7e92af
background_fetch_delegate_proxy.cc 20.6 KB