Index: components/user_manager/fake_user_manager.cc |
diff --git a/components/user_manager/fake_user_manager.cc b/components/user_manager/fake_user_manager.cc |
index 04164dbe074e2696c086424a46957532b6ecc349..f43b01bb60a54801639787c10299bdaa2edb5a4b 100644 |
--- a/components/user_manager/fake_user_manager.cc |
+++ b/components/user_manager/fake_user_manager.cc |
@@ -9,7 +9,7 @@ |
#include "base/sys_info.h" |
#include "base/task_runner.h" |
#include "chromeos/chromeos_switches.h" |
-#include "chromeos/login/user_names.h" |
+#include "components/user_manager/user_names.h" |
#include "components/user_manager/user_type.h" |
namespace { |
@@ -286,7 +286,7 @@ bool FakeUserManager::IsEnterpriseManaged() const { |
} |
bool FakeUserManager::IsDemoApp(const AccountId& account_id) const { |
- return account_id == chromeos::login::DemoAccountId(); |
+ return account_id == DemoAccountId(); |
} |
bool FakeUserManager::IsDeviceLocalAccountMarkedForRemoval( |
@@ -301,20 +301,20 @@ void FakeUserManager::UpdateLoginState(const user_manager::User* active_user, |
bool FakeUserManager::GetPlatformKnownUserId(const std::string& user_email, |
const std::string& gaia_id, |
AccountId* out_account_id) const { |
- if (user_email == chromeos::login::kStubUser) { |
- *out_account_id = chromeos::login::StubAccountId(); |
+ if (user_email == kStubUser) { |
+ *out_account_id = StubAccountId(); |
return true; |
} |
- if (user_email == chromeos::login::kGuestUserName) { |
- *out_account_id = chromeos::login::GuestAccountId(); |
+ if (user_email == kGuestUserName) { |
+ *out_account_id = GuestAccountId(); |
return true; |
} |
return false; |
} |
const AccountId& FakeUserManager::GetGuestAccountId() const { |
- return chromeos::login::GuestAccountId(); |
+ return GuestAccountId(); |
} |
bool FakeUserManager::IsFirstExecAfterBoot() const { |
@@ -327,11 +327,11 @@ void FakeUserManager::AsyncRemoveCryptohome(const AccountId& account_id) const { |
} |
bool FakeUserManager::IsGuestAccountId(const AccountId& account_id) const { |
- return account_id == chromeos::login::GuestAccountId(); |
+ return account_id == GuestAccountId(); |
} |
bool FakeUserManager::IsStubAccountId(const AccountId& account_id) const { |
- return account_id == chromeos::login::StubAccountId(); |
+ return account_id == StubAccountId(); |
} |
bool FakeUserManager::IsSupervisedAccountId(const AccountId& account_id) const { |