Index: chrome/browser/chromeos/policy/device_local_account.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account.cc b/chrome/browser/chromeos/policy/device_local_account.cc |
index 92e791fee4fae33f4c069e29f3f7687ed487ffef..dd16b9022729f4637e8fb9b3cd3b2cbd29885ae0 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account.cc |
@@ -17,9 +17,9 @@ |
#include "base/values.h" |
#include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
-#include "chromeos/login/user_names.h" |
#include "chromeos/settings/cros_settings_names.h" |
#include "components/signin/core/account_id/account_id.h" |
+#include "components/user_manager/user_names.h" |
#include "google_apis/gaia/gaia_auth_util.h" |
namespace policy { |
@@ -76,7 +76,7 @@ bool IsDeviceLocalAccountUser(const std::string& user_id, |
DeviceLocalAccount::Type* type) { |
// For historical reasons, the guest user ID does not contain an @ symbol and |
// therefore, cannot be parsed by gaia::ExtractDomainName(). |
- if (user_id == chromeos::login::GuestAccountId().GetUserEmail()) |
+ if (user_id == user_manager::GuestAccountId().GetUserEmail()) |
return false; |
const std::string domain = gaia::ExtractDomainName(user_id); |
if (!base::EndsWith(domain, kDeviceLocalAccountDomainSuffix, |