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

Unified Diff: chrome/browser/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, 3 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/auth/login_performer.cc
diff --git a/chrome/browser/chromeos/login/auth/login_performer.cc b/chrome/browser/chromeos/login/auth/login_performer.cc
index c3200a4132f5ebf9b0db525e8426e3a5fcca18e7..cb4ff6bc795586fca74ffac09006a14d5982bdfa 100644
--- a/chrome/browser/chromeos/login/auth/login_performer.cc
+++ b/chrome/browser/chromeos/login/auth/login_performer.cc
@@ -86,12 +86,6 @@ void LoginPerformer::OnAuthFailure(const AuthFailure& failure) {
}
}
-void LoginPerformer::OnRetailModeAuthSuccess(const UserContext& user_context) {
- content::RecordAction(
- UserMetricsAction("Login_DemoUserLoginSuccess"));
bartfab (slow) 2014/10/15 09:52:20 Should this action be removed from |tools/metrics/
rkc 2014/11/20 21:06:33 Marked it obsolete. Done.
- AuthStatusConsumer::OnRetailModeAuthSuccess(user_context);
-}
-
void LoginPerformer::OnAuthSuccess(const UserContext& user_context) {
content::RecordAction(UserMetricsAction("Login_Success"));
VLOG(1) << "LoginSuccess hash: " << user_context.GetUserIDHash();
@@ -264,13 +258,6 @@ void LoginPerformer::LoginAsSupervisedUser(
}
}
-void LoginPerformer::LoginRetailMode() {
- authenticator_ = LoginUtils::Get()->CreateAuthenticator(this);
- BrowserThread::PostTask(
- BrowserThread::UI, FROM_HERE,
- base::Bind(&Authenticator::LoginRetailMode, authenticator_.get()));
-}
-
void LoginPerformer::LoginOffTheRecord() {
authenticator_ = LoginUtils::Get()->CreateAuthenticator(this);
BrowserThread::PostTask(

Powered by Google App Engine
This is Rietveld 408576698