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

Unified Diff: mojo/services/network/http_server_apptest.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « media/blink/key_system_config_selector.cc ('k') | mojo/shell/network_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/http_server_apptest.cc
diff --git a/mojo/services/network/http_server_apptest.cc b/mojo/services/network/http_server_apptest.cc
index 32c249c32bd1bce396c4cc73bc586d886bb91e91..18c7e5c6c162d64281e187d609d4a6d52bbcbfd2 100644
--- a/mojo/services/network/http_server_apptest.cc
+++ b/mojo/services/network/http_server_apptest.cc
@@ -113,12 +113,12 @@ void CheckHeaders(const TestHeaders& expected,
std::map<std::string, std::string> header_map;
for (size_t i = 0; i < headers.size(); ++i) {
std::string lower_name =
- base::StringToLowerASCII(headers[i]->name.To<std::string>());
+ base::ToLowerASCII(headers[i]->name.To<std::string>());
header_map[lower_name] = headers[i]->value;
}
for (const auto& item : expected) {
- std::string lower_name = base::StringToLowerASCII(item.first);
+ std::string lower_name = base::ToLowerASCII(item.first);
EXPECT_NE(header_map.end(), header_map.find(lower_name));
EXPECT_EQ(item.second, header_map[lower_name]);
}
« no previous file with comments | « media/blink/key_system_config_selector.cc ('k') | mojo/shell/network_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698