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

Unified Diff: chrome/test/chromedriver/performance_logger.cc

Issue 1224553010: Replace base::str[n]casecmp with helper functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy_backend.cc ('k') | components/mime_util/mime_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/performance_logger.cc
diff --git a/chrome/test/chromedriver/performance_logger.cc b/chrome/test/chromedriver/performance_logger.cc
index 37e66f40f280358a2aa49fabfc044d18fa134b43..f97385b6d9143c2a1ae15fb7408e3053200b2740 100644
--- a/chrome/test/chromedriver/performance_logger.cc
+++ b/chrome/test/chromedriver/performance_logger.cc
@@ -43,7 +43,8 @@ bool IsEnabled(const PerfLoggingPrefs::InspectorDomainStatus& domain_status) {
bool ShouldRequestTraceEvents(const std::string& command) {
for (size_t i_domain = 0; i_domain < arraysize(kRequestTraceCommands);
++i_domain) {
- if (base::strcasecmp(command.c_str(), kRequestTraceCommands[i_domain]) == 0)
+ if (base::EqualsCaseInsensitiveASCII(command,
+ kRequestTraceCommands[i_domain]))
return true;
}
return false;
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy_backend.cc ('k') | components/mime_util/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698