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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 6541088: When enabling password sync manually, use the passphrase migration flow to cr... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/sync_setup_flow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.cc
===================================================================
--- chrome/browser/sync/profile_sync_service.cc (revision 75617)
+++ chrome/browser/sync/profile_sync_service.cc (working copy)
@@ -729,8 +729,10 @@
return;
}
- if (WizardIsVisible()) {
+ if (WizardIsVisible() && for_decryption) {
wizard_.Step(SyncSetupWizard::ENTER_PASSPHRASE);
+ } else if (WizardIsVisible() && !for_decryption) {
+ SigninForPassphraseMigration(NULL);
tim (not reviewing) 2011/02/23 18:10:44 comment explaining why we do this would be nice
}
NotifyObservers();
@@ -762,6 +764,7 @@
if (WizardIsVisible()) {
wizard_.Focus();
+ wizard_.Step(SyncSetupWizard::GAIA_LOGIN);
tim (not reviewing) 2011/02/23 18:10:44 Can you add a comment here why the step is necessa
return;
}
« no previous file with comments | « no previous file | chrome/browser/sync/sync_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698