[Profile creation] Fix a broken DCHECK
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:David 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}
Showing
Please register or sign in to comment