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

Unified Diff: chrome/browser/chromeos/login/webui_login_display.cc

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/webui_login_display.cc
diff --git a/chrome/browser/chromeos/login/webui_login_display.cc b/chrome/browser/chromeos/login/webui_login_display.cc
index b80a28eec43964c831ab7b479c10b286f5b736d0..db0e18c376d4b9d9cd4df15ef5c4de6175d336b2 100644
--- a/chrome/browser/chromeos/login/webui_login_display.cc
+++ b/chrome/browser/chromeos/login/webui_login_display.cc
@@ -225,18 +225,16 @@ void WebUILoginDisplay::CreateAccount() {
delegate_->CreateAccount();
}
-void WebUILoginDisplay::CompleteLogin(const std::string& username,
- const std::string& password) {
+void WebUILoginDisplay::CompleteLogin(const UserCredentials& credentials) {
DCHECK(delegate_);
if (delegate_)
- delegate_->CompleteLogin(username, password);
+ delegate_->CompleteLogin(credentials);
}
-void WebUILoginDisplay::Login(const std::string& username,
- const std::string& password) {
+void WebUILoginDisplay::Login(const UserCredentials& credentials) {
DCHECK(delegate_);
if (delegate_)
- delegate_->Login(username, password);
+ delegate_->Login(credentials);
}
void WebUILoginDisplay::LoginAsRetailModeUser() {
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.h ('k') | chrome/browser/chromeos/login/webui_screen_locker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698