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

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

Issue 1112843003: Revert "Enable BlockingLoginTest, ForceMaximizeOnFirstRunTest, UserCloudPolicyManagerTest, for webv… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/auth_status_consumer.h
diff --git a/chromeos/login/auth/auth_status_consumer.h b/chromeos/login/auth/auth_status_consumer.h
index ad202a5c8a4bba857b7dc1cc2f72699c0e99ef90..e7e3bda56c8e25e6f9ecea89bce8eb603d9a9b8b 100644
--- a/chromeos/login/auth/auth_status_consumer.h
+++ b/chromeos/login/auth/auth_status_consumer.h
@@ -29,14 +29,15 @@ class CHROMEOS_EXPORT AuthFailure {
UNLOCK_FAILED,
NETWORK_AUTH_FAILED, // Could not authenticate against Google
OWNER_REQUIRED, // Only the device owner can log-in.
- WHITELIST_CHECK_FAILED, // Login attempt blocked by whitelist. This
- // value is synthesized by the ExistingUserController and passed to the
- // login_status_consumer_ in tests only. It is never generated or seen by
- // any of the other authenticator classes.
- TPM_ERROR, // Critical TPM error encountered.
- USERNAME_HASH_FAILED, // Could not get username hash.
- FAILED_TO_INITIALIZE_TOKEN, // Could not get OAuth2 Token,
- NUM_FAILURE_REASONS, // This has to be the last item.
+ WHITELIST_CHECK_FAILED, // Login attempt blocked by whitelist. This value
+ // is
+ // synthesized by the ExistingUserController and
+ // passed to the login_status_consumer_ in tests
+ // only. It is never generated or seen by any of the
+ // other authenticator classes.
+ TPM_ERROR, // Critical TPM error encountered.
+ USERNAME_HASH_FAILED, // Could not get username hash.
+ NUM_FAILURE_REASONS, // This has to be the last item.
};
explicit AuthFailure(FailureReason reason)
@@ -84,8 +85,6 @@ class CHROMEOS_EXPORT AuthFailure {
return "Login is restricted to the owner's account only.";
case WHITELIST_CHECK_FAILED:
return "Login attempt blocked by whitelist.";
- case FAILED_TO_INITIALIZE_TOKEN:
- return "OAuth2 token fetch failed.";
default:
NOTREACHED();
return std::string();
« no previous file with comments | « chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698