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

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

Issue 12704002: Support for auth code based authentication flow for both app and web UI driven flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase4 Created 7 years, 9 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/chromeos/login/login_status_consumer.h
diff --git a/chrome/browser/chromeos/login/login_status_consumer.h b/chrome/browser/chromeos/login/login_status_consumer.h
index 8212ed316a6e0c8631d80a348b50fe86c8047ca1..5b7827b8cfc91cd3cb4271d92eae23806833e2e5 100644
--- a/chrome/browser/chromeos/login/login_status_consumer.h
+++ b/chrome/browser/chromeos/login/login_status_consumer.h
@@ -14,6 +14,8 @@
namespace chromeos {
+struct UserCredentials;
+
class LoginFailure {
public:
enum FailureReason {
@@ -115,12 +117,11 @@ class LoginStatusConsumer {
// Unless overridden for special processing, this should always call
// OnLoginSuccess with the magic |kRetailModeUserEMail| constant.
virtual void OnRetailModeLoginSuccess();
- // The current login attempt has succeeded for
- // |username|/|password|. If |pending_requests| is false, we're totally done.
+ // The current login attempt has succeeded for |credentials|.
+ // If |pending_requests| is false, we're totally done.
// If it's true, we will still have some more results to report later.
virtual void OnLoginSuccess(
- const std::string& username,
- const std::string& password,
+ const UserCredentials& credentials,
bool pending_requests,
bool using_oauth) = 0;
// The current guest login attempt has succeeded.
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/login_status_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698