• Sylvain Defresne's avatar
    Simplify BrowserStateDataRemover · 7468d3dc
    Sylvain Defresne authored
    Add a completionBlock parameter to ClearBrowsingDataCommand and
    use it to wait for the completion of the browsing data removal
    in BrowserStateDataRemover.
    
    This allow removing the circular dependency between i/c/b/signin
    and i/c/b/browsing_data and to simplify code.
    
    Bug: none
    Change-Id: I6ee62201dd321a453be8d7d6d588a8e713735d5f
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Reviewed-on: https://chromium-review.googlesource.com/916607
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#537296}
    7468d3dc
browser_state_data_remover.mm 3.32 KB