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

Unified Diff: chromeos/login/auth/cryptohome_authenticator.h

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: chromeos/login/auth/cryptohome_authenticator.h
diff --git a/chromeos/login/auth/cryptohome_authenticator.h b/chromeos/login/auth/cryptohome_authenticator.h
index cd01ac4a190735cd671e15fc6dde52dadae505b2..5c1a7f9b25edab2458c3ca41a4f9b61147ac163d 100644
--- a/chromeos/login/auth/cryptohome_authenticator.h
+++ b/chromeos/login/auth/cryptohome_authenticator.h
@@ -73,19 +73,18 @@ class CHROMEOS_EXPORT CryptohomeAuthenticator
HAVE_NEW_PW = 11, // Obsolete (ClientLogin): We have verified new pw,
// time to migrate key.
OFFLINE_LOGIN = 12, // Login succeeded offline.
- DEMO_LOGIN = 13, // Logged in as the demo user.
- ONLINE_LOGIN = 14, // Offline and online login succeeded.
- UNLOCK = 15, // Screen unlock succeeded.
- ONLINE_FAILED = 16, // Obsolete (ClientLogin): Online login disallowed,
+ ONLINE_LOGIN = 13, // Offline and online login succeeded.
+ UNLOCK = 14, // Screen unlock succeeded.
+ ONLINE_FAILED = 15, // Obsolete (ClientLogin): Online login disallowed,
// but offline succeeded.
- GUEST_LOGIN = 17, // Logged in guest mode.
- PUBLIC_ACCOUNT_LOGIN = 18, // Logged into a public account.
- SUPERVISED_USER_LOGIN = 19, // Logged in as a supervised user.
- LOGIN_FAILED = 20, // Login denied.
- OWNER_REQUIRED = 21, // Login is restricted to the owner only.
- FAILED_USERNAME_HASH = 22, // Failed GetSanitizedUsername request.
- KIOSK_ACCOUNT_LOGIN = 23, // Logged into a kiosk account.
- REMOVED_DATA_AFTER_FAILURE = 24, // Successfully removed the user's
+ GUEST_LOGIN = 16, // Logged in guest mode.
+ PUBLIC_ACCOUNT_LOGIN = 17, // Logged into a public account.
+ SUPERVISED_USER_LOGIN = 18, // Logged in as a supervised user.
+ LOGIN_FAILED = 19, // Login denied.
+ OWNER_REQUIRED = 20, // Login is restricted to the owner only.
+ FAILED_USERNAME_HASH = 21, // Failed GetSanitizedUsername request.
+ KIOSK_ACCOUNT_LOGIN = 22, // Logged into a kiosk account.
+ REMOVED_DATA_AFTER_FAILURE = 23, // Successfully removed the user's
// cryptohome after a login failure.
};
@@ -118,10 +117,6 @@ class CHROMEOS_EXPORT CryptohomeAuthenticator
// notifies consumer on the success/failure.
virtual void LoginAsSupervisedUser(const UserContext& user_context) OVERRIDE;
- // Initiates retail mode login.
- // Mounts tmpfs and notifies consumer on the success/failure.
- virtual void LoginRetailMode() OVERRIDE;
-
// Initiates incognito ("browse without signing in") login.
// Mounts tmpfs and notifies consumer on the success/failure.
virtual void LoginOffTheRecord() OVERRIDE;
@@ -141,7 +136,6 @@ class CHROMEOS_EXPORT CryptohomeAuthenticator
// These methods must be called on the UI thread, as they make DBus calls
// and also call back to the login UI.
- virtual void OnRetailModeAuthSuccess() OVERRIDE;
virtual void OnAuthSuccess() OVERRIDE;
virtual void OnAuthFailure(const AuthFailure& error) OVERRIDE;
virtual void RecoverEncryptedData(const std::string& old_password) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698