Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Issue 22825025: Remove SigninDelegateObserver. (Closed)

Created:
7 years, 4 months ago by calamity
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove SigninDelegateObserver. 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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218991

Patch Set 1 #

Patch Set 2 : remove from gyp file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -81 lines) Patch
M chrome/browser/ui/app_list/app_list_view_delegate.h View 3 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_view_delegate.cc View 4 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/chrome_signin_delegate.h View 2 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/ui/app_list/chrome_signin_delegate.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/app_list/signin_delegate.h View 2 chunks +0 lines, -11 lines 0 comments Download
M ui/app_list/signin_delegate.cc View 2 chunks +0 lines, -13 lines 0 comments Download
D ui/app_list/signin_delegate_observer.h View 1 chunk +0 lines, -24 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
calamity
7 years, 4 months ago (2013-08-22 03:45:40 UTC) #1
tapted
Cool - lgtm. But, if this fixes a crash, you should definitely have a TEST= ...
7 years, 4 months ago (2013-08-22 04:26:54 UTC) #2
koz (OOO until 15th September)
lgtm It's not obvious from the bug or this change what the crash was caused ...
7 years, 4 months ago (2013-08-22 04:38:43 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/22825025/1
7 years, 4 months ago (2013-08-22 07:01:00 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=32393
7 years, 4 months ago (2013-08-22 07:49:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/22825025/28001
7 years, 4 months ago (2013-08-22 08:10:18 UTC) #6
commit-bot: I haz the power
7 years, 4 months ago (2013-08-22 10:52:57 UTC) #7
Message was sent while issue was closed.
Change committed as 218991

Powered by Google App Engine
This is Rietveld 408576698