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

Unified Diff: net/tools/quic/test_tools/http_message.cc

Issue 1224553010: Replace base::str[n]casecmp with helper functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/tools/balsa/string_piece_utils.h ('k') | net/url_request/url_request_http_job_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/http_message.cc
diff --git a/net/tools/quic/test_tools/http_message.cc b/net/tools/quic/test_tools/http_message.cc
index ad13f5c2f45d371edc869afd2dc2b22f4318bf3c..b1520917b43cb165a78b4b3e0657af8679557e26 100644
--- a/net/tools/quic/test_tools/http_message.cc
+++ b/net/tools/quic/test_tools/http_message.cc
@@ -158,8 +158,8 @@ void HTTPMessage::ValidateMessage() const {
for (vector<StringPiece>::iterator it = transfer_encodings.begin();
it != transfer_encodings.end();
++it) {
- CHECK(StringPieceUtils::EqualIgnoreCase("identity", *it) ||
- StringPieceUtils::EqualIgnoreCase("chunked", *it)) << *it;
+ CHECK(base::EqualsCaseInsensitiveASCII("identity", *it) ||
+ base::EqualsCaseInsensitiveASCII("chunked", *it)) << *it;
}
vector<StringPiece> content_lengths;
« no previous file with comments | « net/tools/balsa/string_piece_utils.h ('k') | net/url_request/url_request_http_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698