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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 2587993002: Chromad: Switch AuthPolicyClient to use cros_system_api enums. (Closed)
Patch Set: Move default to the end of switch. Created 3 years, 12 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/ui/webui/chromeos/login/gaia_screen_handler.h ('k') | chromeos/dbus/auth_policy_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index 9905241cef80d27abdf9a6cc7b9925800bfb9de9..03933fc25f1c9ff75e16a705df62d141f6665a71 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -501,9 +501,9 @@ AccountId GaiaScreenHandler::GetAccountId(
void GaiaScreenHandler::DoAdAuth(const std::string& username,
const Key& key,
- authpolicy::AuthUserErrorType error,
+ authpolicy::ErrorType error,
const std::string& uid) {
- if (error == authpolicy::AUTH_USER_ERROR_NONE && !uid.empty()) {
+ if (error == authpolicy::ERROR_NONE && !uid.empty()) {
const AccountId account_id(
GetAccountId(username, uid, AccountType::ACTIVE_DIRECTORY));
UserContext user_context(account_id);
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h ('k') | chromeos/dbus/auth_policy_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698