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

Unified Diff: components/policy/core/common/policy_loader_win.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
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: components/policy/core/common/policy_loader_win.cc
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index 449b99f552a085cfc74591ad1d5f7bc0669e6d92..f199a20d6593d0dc2f57a688c1ab072203b0eae7 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -156,7 +156,8 @@ void FilterUntrustedPolicy(PolicyMap* policy) {
if (pos == std::string::npos)
continue;
// Only allow custom update urls in enterprise environments.
- if (!LowerCaseEqualsASCII(entry.substr(pos), kExpectedWebStoreUrl)) {
+ if (!base::LowerCaseEqualsASCII(entry.substr(pos),
+ kExpectedWebStoreUrl)) {
entry = kBlockedExtensionPrefix + entry;
invalid_policies++;
}
« no previous file with comments | « components/plugins/renderer/mobile_youtube_plugin.cc ('k') | components/search_engines/template_url_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698