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

Unified Diff: net/tools/quic/platform/impl/quic_socket_utils_test.cc

Issue 2629723003: Revert of Add quic_logging (Closed)
Patch Set: Created 3 years, 11 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/quic/platform/impl/quic_socket_utils.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/platform/impl/quic_socket_utils_test.cc
diff --git a/net/tools/quic/platform/impl/quic_socket_utils_test.cc b/net/tools/quic/platform/impl/quic_socket_utils_test.cc
index 58fd70b411c6b3e409d1f5ca8276a5aea1a5091f..899d1b8e81211c93ed133a9fad4a90f74e0e8a07 100644
--- a/net/tools/quic/platform/impl/quic_socket_utils_test.cc
+++ b/net/tools/quic/platform/impl/quic_socket_utils_test.cc
@@ -8,7 +8,6 @@
#include <array>
-#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_socket_address.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -64,21 +63,21 @@
bind_addr_size = sizeof(struct sockaddr_in6);
break;
case IpAddressFamily::IP_UNSPEC:
- QUIC_LOG(FATAL) << "Unspecified IP address family";
+ LOG(FATAL) << "Unspecified IP address family";
}
int rc = bind(fd, reinterpret_cast<sockaddr*>(&bind_addr_native),
bind_addr_size);
if (rc != 0) {
- QUIC_LOG(ERROR) << "Failed to bind socket to " << address.ToString()
- << ": " << strerror(errno);
+ LOG(ERROR) << "Failed to bind socket to " << address.ToString() << ": "
+ << strerror(errno);
return bound_address;
}
rc = bound_address.FromSocket(fd);
if (rc != 0) {
- QUIC_LOG(ERROR) << "Failed to get bound socket address from fd: "
- << strerror(errno);
+ LOG(ERROR) << "Failed to get bound socket address from fd: "
+ << strerror(errno);
bound_address = QuicSocketAddress();
}
return bound_address;
« no previous file with comments | « net/tools/quic/platform/impl/quic_socket_utils.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698