| 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 a7889eb2b5dcee994b5999cad2c9baa025bb90ca..bd65b300708fca18dd4292b7176872b41eb6f481 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_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 "components/user_manager/user_manager.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "crypto/hmac.h"
|
| #include "crypto/random.h"
|
| @@ -224,7 +224,7 @@ void SupervisedUserAuthentication::ScheduleSupervisedPasswordChange(
|
| const std::string& supervised_user_id,
|
| const base::DictionaryValue* password_data) {
|
| const user_manager::User* user =
|
| - UserManager::Get()->FindUser(supervised_user_id);
|
| + user_manager::UserManager::Get()->FindUser(supervised_user_id);
|
| base::FilePath profile_path = ProfileHelper::GetProfilePathByUserIdHash(
|
| user->username_hash());
|
| JSONFileValueSerializer serializer(profile_path.Append(kPasswordUpdateFile));
|
| @@ -281,7 +281,8 @@ void SupervisedUserAuthentication::LoadPasswordUpdateData(
|
| const std::string& user_id,
|
| const PasswordDataCallback& success_callback,
|
| const base::Closure& failure_callback) {
|
| - const user_manager::User* user = UserManager::Get()->FindUser(user_id);
|
| + const user_manager::User* user =
|
| + user_manager::UserManager::Get()->FindUser(user_id);
|
| base::FilePath profile_path =
|
| ProfileHelper::GetProfilePathByUserIdHash(user->username_hash());
|
| PostTaskAndReplyWithResult(
|
|
|