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

Unified Diff: net/test/embedded_test_server/http_request.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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
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 ef624dcc8b052f94cabbb509642c64cf638e57ae..6e48f053307ad3dff1ad84d8de7c0e35bc266394 100644
--- a/net/test/embedded_test_server/http_request.cc
+++ b/net/test/embedded_test_server/http_request.cc
@@ -119,8 +119,8 @@ HttpRequestParser::ParseResult HttpRequestParser::ParseHeaders() {
// Protocol.
const std::string protocol = base::ToLowerASCII(header_line_tokens[2]);
- CHECK(protocol == "http/1.0" || protocol == "http/1.1") <<
- "Protocol not supported: " << protocol;
+ // Protocol not supported.
+ CHECK(protocol == "http/1.0" || protocol == "http/1.1");
}
// Parse further headers.

Powered by Google App Engine
This is Rietveld 408576698