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

Issue 8507026: Fix infinite spin in auth dialog. (Closed)

Created:
9 years, 1 month ago by lipalani1
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing), Paweł Hajdan Jr., binji, James Hawkins
Visibility:
Public.

Description

When there is a password error and the user clicks the wrench menu to sign in again that would work with no bug. The reason it works is we end up calling the function ShowErrorUI on PSS which enumerates the errors(password, actionable, passphrase) and then calls the sync_setup_wizard's Step function with the right parameter. However if the user goes to the options page and click sign in we call SyncSetupHandler::HandleShowErrorUI which bypasses PSS and simply calls SyncSetupWizard's step with a generic non_fatal_error parameter which does not do the right thing always. The fix is to simply route the entire thing through one function(which is in PSS currently. Once the code it ripped apart from PSS the logic would move along with it to the new class.) added tests as well. BUG=103628 TEST=manual testing, unit_tests.exe and sync_integration_tests.exe Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109689

Patch Set 1 #

Patch Set 2 : For review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -14 lines) Patch
M chrome/browser/sync/profile_sync_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 1 5 chunks +54 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 chunk +1 line, -9 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
lipalani1
Please review.
9 years, 1 month ago (2011-11-09 22:01:22 UTC) #1
tim (not reviewing)
This LGTM as a fix. We really need to reduce the number of entry points ...
9 years, 1 month ago (2011-11-09 22:58:31 UTC) #2
Andrew T Wilson (Slow)
LGTM for now also. Ultimately the wizard will go away and the guts will move ...
9 years, 1 month ago (2011-11-10 00:16:28 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8507026/2001
9 years, 1 month ago (2011-11-10 04:02:29 UTC) #4
commit-bot: I haz the power
Try job failure for 8507026-2001 (retry) on win_rel for step "chrome_frame_net_tests". It's a second try, ...
9 years, 1 month ago (2011-11-10 05:50:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8507026/2001
9 years, 1 month ago (2011-11-11 19:11:21 UTC) #6
commit-bot: I haz the power
9 years, 1 month ago (2011-11-11 20:43:29 UTC) #7
Change committed as 109689

Powered by Google App Engine
This is Rietveld 408576698