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 98cc099ebb1a2c8ccaf9ff6703c9bd4f02ed26bf..bc964359a9967317f338168cb03d2c8a89c97c89 100644 |
--- a/chrome/browser/ui/webui/sync_setup_handler.h |
+++ b/chrome/browser/ui/webui/sync_setup_handler.h |
@@ -133,6 +133,12 @@ class SyncSetupHandler : public options::OptionsPageUIHandler, |
#if !defined(OS_CHROMEOS) |
void HandleSubmitAuth(const base::ListValue* args); |
+ // Returns true if the given login data is valid, false otherwise. If the |
+ // login data is not valid then on return |error_message| will be set to a |
+ // localized error message. Note, |error_message| must not be NULL. |
+ bool IsLoginAuthDataValid(const std::string& username, |
+ string16* error_message); |
+ |
// Initiates a login via the signin manager. |
void TryLogin(const std::string& username, |
const std::string& password, |
@@ -191,12 +197,6 @@ class SyncSetupHandler : public options::OptionsPageUIHandler, |
// credentials. |
void CloseGaiaSigninPage(); |
- // Returns true if the given login data is valid, false otherwise. If the |
- // login data is not valid then on return |error_message| will be set to a |
- // localized error message. Note, |error_message| must not be NULL. |
- bool IsLoginAuthDataValid(const std::string& username, |
- string16* error_message); |
- |
// The SigninTracker object used to determine when the user has fully signed |
// in (this requires waiting for various services to initialize and tracking |
// errors from multiple sources). Should only be non-null while the login UI |