DescriptionWhen 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. #
Messages
Total messages: 7 (0 generated)
|