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

Issue 7590018: sync: temp fix for ShowErrorUI (Closed)

Created:
9 years, 4 months ago by tim (not reviewing)
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), idana
Visibility:
Public.

Description

sync: temp fix for ShowErrorUI If there's an auth error, and the user clicks a signin link, show the login dialog straight away. Before this, the code would make a generic "ShowSetup" call with "NONFATAL_ERROR", resulting in infinite spin. BUG=91286, 92265 TEST=change gaia password for active sync account that is ASP enabled. observe error in UI, sign back in. dialog should dismiss on success. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96459

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/sync/profile_sync_service.cc View 1 chunk +4 lines, -1 line 2 comments Download

Messages

Total messages: 6 (0 generated)
tim (not reviewing)
9 years, 4 months ago (2011-08-10 01:08:23 UTC) #1
tim (not reviewing)
ping!
9 years, 4 months ago (2011-08-11 01:14:04 UTC) #2
tim (not reviewing)
On 2011/08/11 01:14:04, timsteele wrote: > ping! note: this is a pretty tiny fix I'd ...
9 years, 4 months ago (2011-08-11 18:01:04 UTC) #3
Andrew T Wilson (Slow)
On 2011/08/11 18:01:04, timsteele wrote: > On 2011/08/11 01:14:04, timsteele wrote: > > ping! > ...
9 years, 4 months ago (2011-08-11 18:13:04 UTC) #4
binji
Sorry Tim, I was out sick yesterday and today. LGTM as long as it doesn't ...
9 years, 4 months ago (2011-08-11 18:15:38 UTC) #5
tim (not reviewing)
9 years, 4 months ago (2011-08-11 18:18:35 UTC) #6
Thanks guys!  Agree we should tighten some screws for m15... I'll look at bug
91065 and try to summarize thoughts...

http://codereview.chromium.org/7590018/diff/1/chrome/browser/sync/profile_syn...
File chrome/browser/sync/profile_sync_service.cc (right):

http://codereview.chromium.org/7590018/diff/1/chrome/browser/sync/profile_syn...
chrome/browser/sync/profile_sync_service.cc:815: if (last_auth_error_.state() !=
AuthError::NONE)
On 2011/08/11 18:15:39, binji wrote:
> Will this branch be taken if there is a passphrase error?

Only if there is also an authentication error, in which case I think it's okay
to show the auth error first.

Powered by Google App Engine
This is Rietveld 408576698