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

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: Review fixes and cleanups. 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
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2a856a1b124bcd12f3e34e43a2c322540b1d6c9a 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,
+ // 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
@@ -64,6 +67,8 @@ class SyncSetupWizard {
// not visible.
void Focus();
+ // TODO(jhawkins): Refactor to take a State parameter and handle the call to
+ // Step() as well as hooking up the handler.
SyncSetupFlow* AttachSyncSetupHandler(SyncSetupFlowHandler* handler);
private:
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698