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

Unified Diff: net/http/http_util_unittest.cc

Issue 448143008: Move StringToUpperASCII and LowerCaseEqualsASCII to the 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/http/http_util.cc ('k') | net/net_nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_util_unittest.cc
diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc
index 54acf68d3c3d52c3bc28aa4b0f9ee3603ac098cd..8c08df2821908cddb15ccb1c7db923191af37f5d 100644
--- a/net/http/http_util_unittest.cc
+++ b/net/http/http_util_unittest.cc
@@ -50,7 +50,7 @@ TEST(HttpUtilTest, IsSafeHeader) {
for (size_t i = 0; i < arraysize(unsafe_headers); ++i) {
EXPECT_FALSE(HttpUtil::IsSafeHeader(unsafe_headers[i]))
<< unsafe_headers[i];
- EXPECT_FALSE(HttpUtil::IsSafeHeader(StringToUpperASCII(std::string(
+ EXPECT_FALSE(HttpUtil::IsSafeHeader(base::StringToUpperASCII(std::string(
unsafe_headers[i])))) << unsafe_headers[i];
}
static const char* safe_headers[] = {
@@ -95,7 +95,7 @@ TEST(HttpUtilTest, IsSafeHeader) {
};
for (size_t i = 0; i < arraysize(safe_headers); ++i) {
EXPECT_TRUE(HttpUtil::IsSafeHeader(safe_headers[i])) << safe_headers[i];
- EXPECT_TRUE(HttpUtil::IsSafeHeader(StringToUpperASCII(std::string(
+ EXPECT_TRUE(HttpUtil::IsSafeHeader(base::StringToUpperASCII(std::string(
safe_headers[i])))) << safe_headers[i];
}
}
« no previous file with comments | « net/http/http_util.cc ('k') | net/net_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698