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

Unified Diff: components/grpc_support/test/quic_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/grpc_support/test/quic_test_server.cc
diff --git a/components/grpc_support/test/quic_test_server.cc b/components/grpc_support/test/quic_test_server.cc
index d57f94ce706abf6220ba0ea996ed7e52ebf9b0f7..570f5dd8b4e1ce7236350470f0fcd8d343b74df1 100644
--- a/components/grpc_support/test/quic_test_server.cc
+++ b/components/grpc_support/test/quic_test_server.cc
@@ -83,7 +83,8 @@ void StartQuicServerOnServerThread(const base::FilePath& test_files_root,
// Start listening on an unbound port.
int rv = g_quic_server->Listen(
net::IPEndPoint(net::IPAddress::IPv4AllZeros(), 0));
- CHECK_GE(rv, 0) << "Quic server fails to start";
+ // Quic server fails to start
+ CHECK_GE(rv, 0);
g_quic_server_port = g_quic_server->server_address().port();
server_started_event->Signal();

Powered by Google App Engine
This is Rietveld 408576698