• calamity@chromium.org's avatar
    Remove SigninDelegateObserver. · fc8daf66
    calamity@chromium.org authored
    Now that the AppListViewDelegate receives signin notifications, the
    SigninDelegateObserver is unnecessary. This will also fix a DCHECK
    that was being failing due to ChromeSigninDelegate's implementation
    of listening to signin events.
    
    Specifically, the DCHECK would happen after signing in from the app
    launcher, signing out, and then signing in again from somewhere else
    (e.g chrome:settings). ChromeSigninDelegate uses a SigninTracker
    which expects the signin to be in a particular state. On the second
    signin the SigninTracker hasn't been reset and does not like the
    state it's in.
    
    An alternative fix to this DCHECK is to delete the SigninTracker on
    signin success/failure but since this code is now unnecessary,
    we may as well remove it.
    
    BUG=271933
    TEST=No functional changes
    
    Review URL: https://chromiumcodereview.appspot.com/22825025
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218991 0039d316-1c4b-4281-b951-d872f2087c98
    fc8daf66
signin_delegate.cc 330 Bytes