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

Unified Diff: components/cronet/android/test/native_test_server.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: components/cronet/android/test/native_test_server.cc
diff --git a/components/cronet/android/test/native_test_server.cc b/components/cronet/android/test/native_test_server.cc
index bf47af3b7dff22f83cb76725e48cbee69de91ff0..cd05ae7dcbb3937a835b9f7dafc51de215610807 100644
--- a/components/cronet/android/test/native_test_server.cc
+++ b/components/cronet/android/test/native_test_server.cc
@@ -164,8 +164,8 @@ std::unique_ptr<net::test_server::HttpResponse> SdchRequestHandler(
GURL url = g_test_server->GetURL(request.relative_url);
std::string dictionary;
if (!net::GetValueForKeyInQuery(url, "q", &dictionary)) {
- CHECK(false) << "dictionary is not found in query params of "
- << request.relative_url;
+ // dictionary is not found in query params of |request.relative_url|
+ CHECK(false);
}
auto accept_encoding_header = request.headers.find("Accept-Encoding");
if (accept_encoding_header != request.headers.end()) {

Powered by Google App Engine
This is Rietveld 408576698