| 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,
|
|
|