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 3e85b3cdd1b2d963e2e296f9352c0358b82e5865..2657377fb901d642831c2c9394a765e3d0398a48 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account.cc |
@@ -68,7 +68,8 @@ bool IsDeviceLocalAccountUser(const std::string& user_id, |
if (user_id == chromeos::login::kGuestUserName) |
return false; |
const std::string domain = gaia::ExtractDomainName(user_id); |
- if (!base::EndsWith(domain, kDeviceLocalAccountDomainSuffix, true)) |
+ if (!base::EndsWith(domain, kDeviceLocalAccountDomainSuffix, |
+ base::CompareCase::SENSITIVE)) |
return false; |
const std::string domain_prefix = domain.substr( |