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

Unified Diff: net/server/http_server_unittest.cc

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « net/server/http_server_request_info.cc ('k') | net/spdy/hpack_huffman_aggregator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server_unittest.cc
diff --git a/net/server/http_server_unittest.cc b/net/server/http_server_unittest.cc
index 207c454acfbc3a8b09eb97eb4d8a3cfba89e5862..467bde433256cddf5671c0e7d79ac76df5a4e718 100644
--- a/net/server/http_server_unittest.cc
+++ b/net/server/http_server_unittest.cc
@@ -262,7 +262,7 @@ TEST_F(HttpServerTest, RequestWithHeaders) {
ASSERT_EQ("", GetRequest(0).data);
for (size_t i = 0; i < arraysize(kHeaders); ++i) {
- std::string field = StringToLowerASCII(std::string(kHeaders[i][0]));
+ std::string field = base::StringToLowerASCII(std::string(kHeaders[i][0]));
std::string value = kHeaders[i][2];
ASSERT_EQ(1u, GetRequest(0).headers.count(field)) << field;
ASSERT_EQ(value, GetRequest(0).headers[field]) << kHeaders[i][0];
@@ -290,7 +290,7 @@ TEST_F(HttpServerTest, RequestWithDuplicateHeaders) {
ASSERT_EQ("", GetRequest(0).data);
for (size_t i = 0; i < arraysize(kHeaders); ++i) {
- std::string field = StringToLowerASCII(std::string(kHeaders[i][0]));
+ std::string field = base::StringToLowerASCII(std::string(kHeaders[i][0]));
std::string value = (field == "duplicateheader") ? "2,4" : kHeaders[i][2];
ASSERT_EQ(1u, GetRequest(0).headers.count(field)) << field;
ASSERT_EQ(value, GetRequest(0).headers[field]) << kHeaders[i][0];
« no previous file with comments | « net/server/http_server_request_info.cc ('k') | net/spdy/hpack_huffman_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698