Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2087)

Unified Diff: chrome/browser/chromeos/policy/device_local_account.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 63c7a14778f00948bb286a471db6b78e375ad8d6..3e85b3cdd1b2d963e2e296f9352c0358b82e5865 100644
--- a/chrome/browser/chromeos/policy/device_local_account.cc
+++ b/chrome/browser/chromeos/policy/device_local_account.cc
@@ -68,7 +68,7 @@ bool IsDeviceLocalAccountUser(const std::string& user_id,
if (user_id == chromeos::login::kGuestUserName)
return false;
const std::string domain = gaia::ExtractDomainName(user_id);
- if (!EndsWith(domain, kDeviceLocalAccountDomainSuffix, true))
+ if (!base::EndsWith(domain, kDeviceLocalAccountDomainSuffix, true))
return false;
const std::string domain_prefix = domain.substr(

Powered by Google App Engine
This is Rietveld 408576698