• Sylvain Defresne's avatar
    Revert "Convert startup_tab_provider.cc to IdentityManager" · c14e5428
    Sylvain Defresne authored
    This reverts commit ec18ec70.
    
    Reason for revert: the conversion was incorrect as the new API
    is not yet implemented. This probably causes regressions (sad
    that no tests caught this) and spam logs (see crbug.com/909712).
    
    Original change's description:
    > Convert startup_tab_provider.cc to IdentityManager
    > 
    > It was using the SigninManager API to check whether the primary
    > account was authenticated and an authentication was in progress. We
    > can use the IdentityManager and PrimaryAccountMutator APIs to perform
    > the same operations.
    > 
    > Bug: 890801
    > Change-Id: Ia2567a567481a4d67b68eee6b714aab72c537b5a
    > Reviewed-on: https://chromium-review.googlesource.com/c/1346467
    > Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
    > Reviewed-by: Colin Blundell <blundell@chromium.org>
    > Commit-Queue: Sergio Villar <svillar@igalia.com>
    > Cr-Commit-Position: refs/heads/master@{#610389}
    
    TBR=ellyjones@chromium.org,blundell@chromium.org,svillar@igalia.com
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 890801
    Change-Id: I8df5a79a40c503abd6dd74974a84eded8f69472a
    Reviewed-on: https://chromium-review.googlesource.com/c/1353980Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#611769}
    c14e5428
startup_tab_provider.cc 12.7 KB