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

Unified Diff: chrome/browser/chromeos/login/user.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: rebase 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/user.h
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h
index 90bb9d52de94cc7462a973c3baad04054f12c7e6..831f048e7681f2e473cac6c350eb777144c1c1f0 100644
--- a/chrome/browser/chromeos/login/user.h
+++ b/chrome/browser/chromeos/login/user.h
@@ -24,6 +24,19 @@ extern const char kRetailModeUserEMail[];
extern const int kDefaultImagesCount;
+// User credentials data that is being exchanged between part of ChromeOS
+// authentication mechanism.
+struct UserCredentials {
+ UserCredentials();
+ UserCredentials(const std::string& username,
+ const std::string& password,
+ const std::string& auth_code);
+
+ std::string username;
+ std::string password;
+ std::string auth_code;
+};
+
// A class representing information about a previously logged in user.
// Each user has a canonical email (username), returned by |email()| and
// may have a different displayed email (in the raw form as entered by user),

Powered by Google App Engine
This is Rietveld 408576698