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

Unified Diff: trunk/src/net/http/http_util_unittest.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/net/http/http_util.cc ('k') | trunk/src/net/net_nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/http/http_util_unittest.cc
===================================================================
--- trunk/src/net/http/http_util_unittest.cc (revision 289319)
+++ trunk/src/net/http/http_util_unittest.cc (working copy)
@@ -50,7 +50,7 @@
for (size_t i = 0; i < arraysize(unsafe_headers); ++i) {
EXPECT_FALSE(HttpUtil::IsSafeHeader(unsafe_headers[i]))
<< unsafe_headers[i];
- EXPECT_FALSE(HttpUtil::IsSafeHeader(base::StringToUpperASCII(std::string(
+ EXPECT_FALSE(HttpUtil::IsSafeHeader(StringToUpperASCII(std::string(
unsafe_headers[i])))) << unsafe_headers[i];
}
static const char* safe_headers[] = {
@@ -95,7 +95,7 @@
};
for (size_t i = 0; i < arraysize(safe_headers); ++i) {
EXPECT_TRUE(HttpUtil::IsSafeHeader(safe_headers[i])) << safe_headers[i];
- EXPECT_TRUE(HttpUtil::IsSafeHeader(base::StringToUpperASCII(std::string(
+ EXPECT_TRUE(HttpUtil::IsSafeHeader(StringToUpperASCII(std::string(
safe_headers[i])))) << safe_headers[i];
}
}
« no previous file with comments | « trunk/src/net/http/http_util.cc ('k') | trunk/src/net/net_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698