• Marc Treib's avatar
    Sync: Remove SetupInProgress state from StartupController · 4f89d11d
    Marc Treib authored
    Before this CL, StartupController had an explicit setup_in_progress_
    flag, which was set and cleared by ProfileSyncService. This was
    unnecessary, since
    a) ProfileSyncService itself knows that state anyway (hence no need to
       forward IsSetupInProgress queries to the StartupController), and
    b) StartupController only needs it within TryStart, where we can just
       pass it in.
    
    Bug: 854978
    Change-Id: Ia5eed20a993de78d1efaacb6709ca680035856fd
    Reviewed-on: https://chromium-review.googlesource.com/1110226
    Commit-Queue: Marc Treib <treib@chromium.org>
    Reviewed-by: default avatarJan Krcal <jkrcal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#569567}
    4f89d11d
profile_sync_service.cc 80.9 KB