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

Unified Diff: net/server/http_server_request_info.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.cc ('k') | net/server/http_server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server_request_info.cc
diff --git a/net/server/http_server_request_info.cc b/net/server/http_server_request_info.cc
index 8b65bee50c1a50cf2a3a4a89c5b6d941a259564e..23729b210046e44bd56560f5536226bcb045f10f 100644
--- a/net/server/http_server_request_info.cc
+++ b/net/server/http_server_request_info.cc
@@ -14,7 +14,7 @@ HttpServerRequestInfo::~HttpServerRequestInfo() {}
std::string HttpServerRequestInfo::GetHeaderValue(
const std::string& header_name) const {
- DCHECK_EQ(StringToLowerASCII(header_name), header_name);
+ DCHECK_EQ(base::StringToLowerASCII(header_name), header_name);
HttpServerRequestInfo::HeadersMap::const_iterator it =
headers.find(header_name);
if (it != headers.end())
@@ -25,9 +25,9 @@ std::string HttpServerRequestInfo::GetHeaderValue(
bool HttpServerRequestInfo::HasHeaderValue(
const std::string& header_name,
const std::string& header_value) const {
- DCHECK_EQ(StringToLowerASCII(header_value), header_value);
+ DCHECK_EQ(base::StringToLowerASCII(header_value), header_value);
std::string complete_value = GetHeaderValue(header_name);
- StringToLowerASCII(&complete_value);
+ base::StringToLowerASCII(&complete_value);
std::vector<std::string> value_items;
Tokenize(complete_value, ",", &value_items);
for (std::vector<std::string>::iterator it = value_items.begin();
« no previous file with comments | « net/server/http_server.cc ('k') | net/server/http_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698