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

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

Issue 14630003: signin: move SigninManagerBase::Signout to SigninManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 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

Powered by Google App Engine
This is Rietveld 408576698