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

Unified Diff: extensions/browser/api/sockets_udp/sockets_udp_api.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: extensions/browser/api/sockets_udp/sockets_udp_api.cc
diff --git a/extensions/browser/api/sockets_udp/sockets_udp_api.cc b/extensions/browser/api/sockets_udp/sockets_udp_api.cc
index 61190a325fafcd330414f1a081f41e9a85405211..2e3c097fdad06dc1cd032fed9298d9a70bbe8822 100644
--- a/extensions/browser/api/sockets_udp/sockets_udp_api.cc
+++ b/extensions/browser/api/sockets_udp/sockets_udp_api.cc
@@ -274,7 +274,8 @@ void SocketsUdpSendFunction::OnCompleted(int net_result) {
}
void SocketsUdpSendFunction::SetSendResult(int net_result, int bytes_sent) {
- CHECK(net_result <= net::OK) << "Network status code must be < 0";
+ // Network status code must be < 0
+ CHECK(net_result <= net::OK);
sockets_udp::SendInfo send_info;
send_info.result_code = net_result;

Powered by Google App Engine
This is Rietveld 408576698