Searched refs:SyncSetupWizard (Results 1 – 7 of 7) sorted by relevance
58 SyncSetupWizard::State start, in Run()59 SyncSetupWizard::State end) { in Run()61 if (start == SyncSetupWizard::GAIA_LOGIN) in Run()63 else if (start == SyncSetupWizard::CONFIGURE) in Run()65 else if (start == SyncSetupWizard::ENTER_PASSPHRASE) in Run()67 else if (start == SyncSetupWizard::PASSPHRASE_MIGRATION) in Run()171 void SyncSetupFlow::Advance(SyncSetupWizard::State advance_state) { in Advance()189 if (current_state_ == SyncSetupWizard::DONE || in OnDialogClosed()190 current_state_ == SyncSetupWizard::DONE_FIRST_TIME) { in OnDialogClosed()196 case SyncSetupWizard::GAIA_LOGIN: in OnDialogClosed()[all …]
182 wizard_.reset(new SyncSetupWizard(service_)); in SetUp()192 scoped_ptr<SyncSetupWizard> wizard_;223 wizard_->Step(SyncSetupWizard::GAIA_LOGIN); in TEST_F()227 EXPECT_EQ(SyncSetupWizard::GAIA_LOGIN, test_window_->flow()->current_state_); in TEST_F()228 EXPECT_EQ(SyncSetupWizard::DONE, test_window_->flow()->end_state_); in TEST_F()235 EXPECT_EQ(SyncSetupWizard::GAIA_LOGIN, test_window_->flow()->current_state_); in TEST_F()246 wizard_->Step(SyncSetupWizard::GAIA_LOGIN); in TEST_F()249 EXPECT_EQ(SyncSetupWizard::GAIA_LOGIN, test_window_->flow()->current_state_); in TEST_F()268 wizard_->Step(SyncSetupWizard::GAIA_LOGIN); in TEST_F()282 wizard_->Step(SyncSetupWizard::GAIA_SUCCESS); in TEST_F()[all …]
13 SyncSetupWizard::SyncSetupWizard(ProfileSyncService* service) in SyncSetupWizard() function in SyncSetupWizard18 SyncSetupWizard::~SyncSetupWizard() { in ~SyncSetupWizard()22 void SyncSetupWizard::Step(State advance_state) { in Step()45 bool SyncSetupWizard::IsTerminalState(State advance_state) { in IsTerminalState()53 bool SyncSetupWizard::IsVisible() const { in IsVisible()57 void SyncSetupWizard::Focus() { in Focus()64 SyncSetupFlow* SyncSetupWizard::AttachSyncSetupHandler( in AttachSyncSetupHandler()75 SyncSetupWizard::State SyncSetupWizard::GetEndStateForDiscreteRun( in GetEndStateForDiscreteRun()
50 SyncSetupWizard::State start,51 SyncSetupWizard::State end);72 void Advance(SyncSetupWizard::State advance_state);117 SyncSetupFlow(SyncSetupWizard::State start_state,118 SyncSetupWizard::State end_state,126 bool ShouldAdvance(SyncSetupWizard::State state);128 void ActivateState(SyncSetupWizard::State state);133 SyncSetupWizard::State current_state_;134 SyncSetupWizard::State end_state_; // The goal.
17 class SyncSetupWizard {57 explicit SyncSetupWizard(ProfileSyncService* service);58 ~SyncSetupWizard();93 DISALLOW_COPY_AND_ASSIGN(SyncSetupWizard);
483 wizard_.Step(SyncSetupWizard::FATAL_ERROR); in OnUnrecoverableError()538 SyncSetupWizard::GAIA_SUCCESS : SyncSetupWizard::GAIA_LOGIN); in UpdateAuthErrorState()560 wizard_.Step(SyncSetupWizard::SETUP_ABORTED_BY_PENDING_CLEAR); in OnStopSyncingPermanently()639 wizard_.Step(SyncSetupWizard::ENTER_PASSPHRASE); in OnPassphraseRequired()658 wizard_.Step(SyncSetupWizard::DONE); in OnPassphraseAccepted()684 wizard_.Step(SyncSetupWizard::GAIA_LOGIN); in ShowLoginDialog()694 wizard_.Step(SyncSetupWizard::GAIA_LOGIN); in ShowLoginDialog()726 wizard_.Step(SyncSetupWizard::SYNC_EVERYTHING); in ShowConfigure()728 wizard_.Step(SyncSetupWizard::CONFIGURE); in ShowConfigure()738 wizard_.Step(SyncSetupWizard::ENTER_PASSPHRASE); in PromptForExistingPassphrase()[all …]
243 SyncSetupWizard& get_wizard() { return wizard_; } in get_wizard()572 SyncSetupWizard wizard_;