• Jan Krcal's avatar
    [Profile creation] Fix a broken DCHECK · 259e50fc
    Jan Krcal authored
    A previous CL introduced a DCHECK on identity_manager_observation_ in
    ProfilePickerView::OnProfileNameAvailable(). This CL fixes the DCHECK
    by an early return in OnExtendedAccountInfoTimeout(). Without this
    early return, OnProfileNameAvailable() got called mostly twice,
    violating the DCHECK.
    
    Bug: 1126913
    Change-Id: Ie1a5457e16cea57a281c83abf005d4b6def9ea47
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592788Reviewed-by: default avatarDavid Roger <droger@chromium.org>
    Commit-Queue: Jan Krcal <jkrcal@chromium.org>
    Auto-Submit: Jan Krcal <jkrcal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#837065}
    259e50fc
profile_picker_view.h 7.56 KB