| Index: chromeos/login/auth/mock_authenticator.cc
|
| diff --git a/chromeos/login/auth/mock_authenticator.cc b/chromeos/login/auth/mock_authenticator.cc
|
| index 0665156f316c7f2e2fa53624b3dc5c1e25521f3f..fdd942911a4ac150e125fac185dc2e87c332de57 100644
|
| --- a/chromeos/login/auth/mock_authenticator.cc
|
| +++ b/chromeos/login/auth/mock_authenticator.cc
|
| @@ -50,12 +50,6 @@ void MockAuthenticator::LoginAsSupervisedUser(const UserContext& user_context) {
|
| consumer_->OnAuthSuccess(new_user_context);
|
| }
|
|
|
| -void MockAuthenticator::LoginRetailMode() {
|
| - UserContext user_context("demo-mode");
|
| - user_context.SetUserIDHash("demo-mode");
|
| - consumer_->OnRetailModeAuthSuccess(user_context);
|
| -}
|
| -
|
| void MockAuthenticator::LoginOffTheRecord() {
|
| consumer_->OnOffTheRecordAuthSuccess();
|
| }
|
| @@ -73,12 +67,6 @@ void MockAuthenticator::LoginAsKioskAccount(const std::string& app_user_id,
|
| consumer_->OnAuthSuccess(user_context);
|
| }
|
|
|
| -void MockAuthenticator::OnRetailModeAuthSuccess() {
|
| - UserContext user_context(expected_user_context_.GetUserID());
|
| - user_context.SetUserIDHash(expected_user_context_.GetUserID());
|
| - consumer_->OnRetailModeAuthSuccess(user_context);
|
| -}
|
| -
|
| void MockAuthenticator::OnAuthSuccess() {
|
| // If we want to be more like the real thing, we could save the user ID
|
| // in AuthenticateToLogin, but there's not much of a point.
|
|
|