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() { |