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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.h

Issue 10831273: Handle refresh on sync setup page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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/ui/webui/sync_setup_handler.h
diff --git a/chrome/browser/ui/webui/sync_setup_handler.h b/chrome/browser/ui/webui/sync_setup_handler.h
index 624a803b7594041f5f0f23b3b86e0e268fb4cad0..afe7e93c96a7beea04d9939b4c709d0a1ded29fb 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.h
+++ b/chrome/browser/ui/webui/sync_setup_handler.h
@@ -100,6 +100,13 @@ class SyncSetupHandler : public options2::OptionsPageUIHandler,
// Returns the LoginUIService for the parent profile.
LoginUIService* GetLoginUIService() const;
+ // Returns true if this object is the active login object.
+ bool IsActiveLogin() const;
+
+ // Displays the GAIA login form. If |fatal_error| is true, displays the fatal
+ // error UI.
+ void DisplayGaiaLogin(bool fatal_error);
+
private:
// Callbacks from the page.
void OnDidClosePage(const base::ListValue* args);
@@ -125,10 +132,6 @@ class SyncSetupHandler : public options2::OptionsPageUIHandler,
// Displays the GAIA login success page then transitions to sync setup.
void DisplayGaiaSuccessAndSettingUp();
- // Displays the GAIA login form. If |fatal_error| is true, displays the fatal
- // error UI.
- void DisplayGaiaLogin(bool fatal_error);
-
// Displays the GAIA login form with a custom error message (used for errors
// like "email address already in use by another profile"). No message
// displayed if |error_message| is empty. Displays fatal error UI if
@@ -149,9 +152,6 @@ class SyncSetupHandler : public options2::OptionsPageUIHandler,
// Displays an error dialog which shows timeout of starting the sync backend.
void DisplayTimeout();
- // Returns true if this object is the active login object.
- bool IsActiveLogin() const;
-
// Initiates a login via the signin manager.
void TryLogin(const std::string& username,
const std::string& password,

Powered by Google App Engine
This is Rietveld 408576698