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

Unified Diff: chrome/browser/sync/sync_setup_wizard.h

Issue 7093004: Sync: Refactor the ProfileSyncService and sync setup flow to remove use of WebUI from PSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix. Created 9 years, 6 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
Index: chrome/browser/sync/sync_setup_wizard.h
diff --git a/chrome/browser/sync/sync_setup_wizard.h b/chrome/browser/sync/sync_setup_wizard.h
index 4e28d8c4e585bc1d8b0a2d53165a355639a82b14..6661f774bc682b8ecabee7cdc9b2671e24c81c9d 100644
--- a/chrome/browser/sync/sync_setup_wizard.h
+++ b/chrome/browser/sync/sync_setup_wizard.h
@@ -34,13 +34,16 @@ class SyncSetupWizard {
CONFIGURE,
// Show the screen that prompts for your passphrase
ENTER_PASSPHRASE,
- // The panic switch. Something went terribly wrong during setup and we
- // can't recover.
+ // An error has occurred in the backend. The next appropriate step is picked
+ // based on which error has occurred.
+ NONFATAL_ERROR,
tim (not reviewing) 2011/06/09 14:50:36 Please add unittests for this new state.
+ // The panic switch. Something went terribly wrong during setup and we can't
+ // recover.
FATAL_ERROR,
// The client can't set up sync at the moment due to a concurrent operation
// to clear cloud data being in progress on the server.
SETUP_ABORTED_BY_PENDING_CLEAR,
- // Loading screen with spinny throbber.
+ // Loading screen with throbber.
SETTING_UP,
// A catch-all done case for any setup process.
DONE

Powered by Google App Engine
This is Rietveld 408576698