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

Unified Diff: chromeos/login/auth/login_performer.cc

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « chromeos/login/auth/login_performer.h ('k') | chromeos/login/auth/mock_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/login_performer.cc
diff --git a/chromeos/login/auth/login_performer.cc b/chromeos/login/auth/login_performer.cc
index 5c8bbdff258f55165a15bd3074581eb374a7c42b..5600e377c8bac052c22dbdc3bb94931299f8201b 100644
--- a/chromeos/login/auth/login_performer.cc
+++ b/chromeos/login/auth/login_performer.cc
@@ -73,12 +73,6 @@ void LoginPerformer::OnAuthFailure(const AuthFailure& failure) {
}
}
-void LoginPerformer::OnRetailModeAuthSuccess(const UserContext& user_context) {
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
- base::RecordAction(UserMetricsAction("Login_DemoUserLoginSuccess"));
- AuthStatusConsumer::OnRetailModeAuthSuccess(user_context);
-}
-
void LoginPerformer::OnAuthSuccess(const UserContext& user_context) {
DCHECK(task_runner_->RunsTasksOnCurrentThread());
base::RecordAction(UserMetricsAction("Login_Success"));
@@ -234,13 +228,6 @@ void LoginPerformer::LoginAsPublicSession(const UserContext& user_context) {
user_context));
}
-void LoginPerformer::LoginRetailMode() {
- EnsureAuthenticator();
- task_runner_->PostTask(
- FROM_HERE,
- base::Bind(&Authenticator::LoginRetailMode, authenticator_.get()));
-}
-
void LoginPerformer::LoginOffTheRecord() {
EnsureAuthenticator();
task_runner_->PostTask(
« no previous file with comments | « chromeos/login/auth/login_performer.h ('k') | chromeos/login/auth/mock_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698