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

Unified Diff: net/test/embedded_test_server/http_request.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 | « net/spdy/spdy_http_utils.cc ('k') | net/tools/quic/spdy_balsa_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/http_request.cc
diff --git a/net/test/embedded_test_server/http_request.cc b/net/test/embedded_test_server/http_request.cc
index 26cb49ed2a9c44d7ff205601c87ad5c0d0b6c58f..9e0c80f96fa092aa2ce05dee5975ba9c68734625 100644
--- a/net/test/embedded_test_server/http_request.cc
+++ b/net/test/embedded_test_server/http_request.cc
@@ -93,15 +93,14 @@ HttpRequestParser::ParseResult HttpRequestParser::ParseHeaders() {
DCHECK_EQ(3u, header_line_tokens.size());
// Method.
http_request_->method_string = header_line_tokens[0];
- http_request_->method = GetMethodType(base::StringToLowerASCII(
- header_line_tokens[0]));
+ http_request_->method =
+ GetMethodType(base::ToLowerASCII(header_line_tokens[0]));
// Address.
// Don't build an absolute URL as the parser does not know (should not
// know) anything about the server address.
http_request_->relative_url = header_line_tokens[1];
// Protocol.
- const std::string protocol =
- base::StringToLowerASCII(header_line_tokens[2]);
+ const std::string protocol = base::ToLowerASCII(header_line_tokens[2]);
CHECK(protocol == "http/1.0" || protocol == "http/1.1") <<
"Protocol not supported: " << protocol;
}
« no previous file with comments | « net/spdy/spdy_http_utils.cc ('k') | net/tools/quic/spdy_balsa_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698