From 7d855571d93760388020b3621169b6690e86060a Mon Sep 17 00:00:00 2001 From: "atwilson@chromium.org" Date: Wed, 16 Mar 2011 17:59:35 +0000 Subject: Moved UI state from ProfileSyncService to SyncUserFlow so it doesn't inappropriately persist. BUG=74645 TEST=see instructions in bug Review URL: http://codereview.chromium.org/6686023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78392 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sync/profile_sync_service.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'chrome/browser/sync/profile_sync_service.cc') diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index 19f6836..f4121b7 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -65,8 +65,6 @@ ProfileSyncService::ProfileSyncService(ProfileSyncFactory* factory, Profile* profile, const std::string& cros_user) : last_auth_error_(AuthError::None()), - tried_creating_explicit_passphrase_(false), - tried_setting_explicit_passphrase_(false), observed_passphrase_required_(false), passphrase_required_for_decryption_(false), passphrase_migration_in_progress_(false), @@ -680,8 +678,6 @@ void ProfileSyncService::OnPassphraseAccepted() { NotifyObservers(); observed_passphrase_required_ = false; - tried_setting_explicit_passphrase_ = false; - tried_creating_explicit_passphrase_ = false; wizard_.Step(SyncSetupWizard::DONE); } @@ -1118,10 +1114,6 @@ void ProfileSyncService::SetPassphrase(const std::string& passphrase, cached_passphrase_.is_creation = is_creation; } - if (is_explicit && is_creation) - tried_creating_explicit_passphrase_ = true; - else if (is_explicit) - tried_setting_explicit_passphrase_ = true; } void ProfileSyncService::EncryptDataTypes( -- cgit v1.1