Index: chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
index efc47cade178149b8e15af72f7d7f5fce5d35699..9088804d5adbb54b43b1e8c8246f14e1ba5492c8 100644 |
--- a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
@@ -13,11 +13,11 @@ |
#include "base/threading/sequenced_worker_pool.h" |
#include "chrome/browser/chromeos/login/supervised/supervised_user_constants.h" |
#include "chrome/browser/chromeos/login/users/supervised_user_manager.h" |
-#include "chrome/browser/chromeos/login/users/user.h" |
#include "chrome/browser/chromeos/login/users/user_manager.h" |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
#include "chromeos/cryptohome/signed_secret.pb.h" |
#include "chromeos/login/auth/key.h" |
+#include "components/user_manager/user.h" |
#include "content/public/browser/browser_thread.h" |
#include "crypto/hmac.h" |
#include "crypto/random.h" |
@@ -223,7 +223,8 @@ bool SupervisedUserAuthentication::NeedPasswordChange( |
void SupervisedUserAuthentication::ScheduleSupervisedPasswordChange( |
const std::string& supervised_user_id, |
const base::DictionaryValue* password_data) { |
- const User* user = UserManager::Get()->FindUser(supervised_user_id); |
+ const user_manager::User* user = |
+ UserManager::Get()->FindUser(supervised_user_id); |
base::FilePath profile_path = ProfileHelper::GetProfilePathByUserIdHash( |
user->username_hash()); |
JSONFileValueSerializer serializer(profile_path.Append(kPasswordUpdateFile)); |
@@ -280,7 +281,7 @@ void SupervisedUserAuthentication::LoadPasswordUpdateData( |
const std::string& user_id, |
const PasswordDataCallback& success_callback, |
const base::Closure& failure_callback) { |
- const User* user = UserManager::Get()->FindUser(user_id); |
+ const user_manager::User* user = UserManager::Get()->FindUser(user_id); |
base::FilePath profile_path = |
ProfileHelper::GetProfilePathByUserIdHash(user->username_hash()); |
PostTaskAndReplyWithResult( |