| Index: chrome/browser/chromeos/login/webui_screen_locker.cc
|
| diff --git a/chrome/browser/chromeos/login/webui_screen_locker.cc b/chrome/browser/chromeos/login/webui_screen_locker.cc
|
| index 1fc875e5e6672ef1d17deac1f71f50fc78026f42..c80ea5f275b639681f9ef4c486ab4de576e25e8f 100644
|
| --- a/chrome/browser/chromeos/login/webui_screen_locker.cc
|
| +++ b/chrome/browser/chromeos/login/webui_screen_locker.cc
|
| @@ -196,8 +196,7 @@ void WebUIScreenLocker::CreateLocallyManagedUser(const string16& display_name,
|
| NOTREACHED();
|
| }
|
|
|
| -void WebUIScreenLocker::CompleteLogin(const std::string& username,
|
| - const std::string& password) {
|
| +void WebUIScreenLocker::CompleteLogin(const UserCredentials& credentials) {
|
| NOTREACHED();
|
| }
|
|
|
| @@ -205,10 +204,9 @@ string16 WebUIScreenLocker::GetConnectedNetworkName() {
|
| return GetCurrentNetworkName();
|
| }
|
|
|
| -void WebUIScreenLocker::Login(const std::string& username,
|
| - const std::string& password) {
|
| +void WebUIScreenLocker::Login(const UserCredentials& credentials) {
|
| chromeos::ScreenLocker::default_screen_locker()->Authenticate(
|
| - ASCIIToUTF16(password));
|
| + ASCIIToUTF16(credentials.password));
|
| }
|
|
|
| void WebUIScreenLocker::LoginAsRetailModeUser() {
|
|
|