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

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

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Removed unused #includes Created 4 years, 2 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 | « chromeos/login/auth/login_performer.cc ('k') | chromeos/login/user_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/user_context.cc
diff --git a/chromeos/login/auth/user_context.cc b/chromeos/login/auth/user_context.cc
index b7f0ef2785137dd46dc45af8f3c9fb585e63653b..62803c722898940576ce83916bb425ae5dab9c7b 100644
--- a/chromeos/login/auth/user_context.cc
+++ b/chromeos/login/auth/user_context.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "chromeos/login/auth/user_context.h"
-#include "chromeos/login/user_names.h"
+#include "components/user_manager/user_names.h"
namespace chromeos {
@@ -28,7 +28,7 @@ UserContext::UserContext(const UserContext& other)
UserContext::UserContext(const AccountId& account_id)
: account_id_(account_id) {
account_id_.SetUserEmail(
- login::CanonicalizeUserID(account_id.GetUserEmail()));
+ user_manager::CanonicalizeUserID(account_id.GetUserEmail()));
}
UserContext::UserContext(user_manager::UserType user_type,
@@ -36,7 +36,7 @@ UserContext::UserContext(user_manager::UserType user_type,
: account_id_(account_id), user_type_(user_type) {
if (user_type_ == user_manager::USER_TYPE_REGULAR)
account_id_.SetUserEmail(
- login::CanonicalizeUserID(account_id_.GetUserEmail()));
+ user_manager::CanonicalizeUserID(account_id_.GetUserEmail()));
}
UserContext::~UserContext() {
« no previous file with comments | « chromeos/login/auth/login_performer.cc ('k') | chromeos/login/user_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698