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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 4980005: Allow sync with 2-factor StrongAuth accounts in ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 10 years, 1 month 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/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index e150a31fb315516ed166cf662d16064f7425aafd..03f889c9e927ad034aec46767ae509e5f70a56ca 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -88,6 +88,7 @@ class ExistingUserController : public WmMessageListener::Observer,
virtual void SetStatusAreaEnabled(bool enable);
// LoginPerformer::Delegate implementation:
+ virtual void SetLoginFailure(const LoginFailure& error);
virtual void OnLoginFailure(const LoginFailure& error);
virtual void OnLoginSuccess(
const std::string& username,
@@ -169,6 +170,9 @@ class ExistingUserController : public WmMessageListener::Observer,
// A user settings provider instance to trigger settings cache update.
scoped_ptr<UserCrosSettingsProvider> user_settings_;
+ // True if there was a two-factor error during login.
+ bool two_factor_error_;
+
DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
};

Powered by Google App Engine
This is Rietveld 408576698